chenrui
2025-05-12 f81c345f7bf058fdfe5fee6f0dfd5de0f4cb767c
src/main/resources/application-druid.yml
@@ -6,6 +6,7 @@
        druid:
            # 主库数据源
            master:
#                url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                url: jdbc:mysql://114.132.189.42:9004/product-inventory-management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                username: root
                password: 123456
@@ -60,15 +61,6 @@
                    config:
                        multi-statement-allow: true
# mybatis-plus配置
mybatis-plus:
    mapper-locations: classpath*:mapper/**/*Mapper.xml
    type-aliases-package: com.ruoyi.**.domain
    global-config:
        banner: off
        db-config:
            id-type: auto
    configuration:
        map-underscore-to-camel-case: true
        cache-enabled: false
        log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl
file:
    temp-dir: D:/ruoyi/temp/uploads   # 临时目录
    upload-dir: D:/ruoyi/prod/uploads # 正式目录