| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://localhost:3306/product-inventory-management-dhdc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://114.132.189.42:9099/product-inventory-management-dhdc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 123456 |
| | | password: xd@123456.. |
| | | # 从库数据源 |
| | | slave: |
| | | # 从数据源开关/默认关闭 |
| | |
| | | database: 0 |
| | | # 密码 |
| | | # password: root2022! |
| | | password: |
| | | password: 123456 |
| | | |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | |
| | | secret: abcdefghijklmnopqrstuvwxyz |
| | | # 令牌有效期(默认30分钟) |
| | | expireTime: 450 |
| | | |
| | | |
| | | # MyBatis Plus配置 |
| | | mybatis-plus: |
| | | # 搜索指定包别名 根据自己的项目来 |
| | |
| | | enable-sql-runner: true |
| | | db-config: |
| | | id-type: auto |
| | | |
| | | |
| | | # PageHelper分页插件 |
| | | pagehelper: |
| | | helperDialect: mysql |
| | |
| | | excludes: /system/notice |
| | | # 匹配链接 |
| | | urlPatterns: /system/*,/monitor/*,/tool/* |
| | | |
| | | |
| | | # 代码生成 |
| | | gen: |
| | | # 作者 |
| | |
| | | |
| | | file: |
| | | temp-dir: D:/ruoyi/temp/uploads # 临时目录 |
| | | upload-dir: D:/ruoyi/prod/uploads # 正式目录 |
| | | upload-dir: D:/ruoyi/prod/uploads # 正式目录 |