| | |
| | | druid:
|
| | | # 主库数据源
|
| | | master:
|
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
| | | # 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
|
| | | # 从库数据源
|
| | |
| | | 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 # 正式目录
|