| | |
| | | # 版权年份 |
| | | copyrightYear: 2024 |
| | | # 文件路径 示例( Windows配置D:/expert/uploadPath,Linux配置 /home/expert/uploadPath) |
| | | profile: /home/java/expert/upload |
| | | profile: /home/java/expert |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | # 验证码类型 math 数字计算 char 字符验证 |
| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://localhost:3306/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true |
| | | username: root |
| | | password: 123456 |
| | | url: jdbc:mysql://127.0.0.1:3357/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true |
| | | username: expert_management |
| | | password: dAx5eFta3LwFAfbG |
| | | # 从库数据源 |
| | | slave: |
| | | # 从数据源开关/默认关闭 |
| | |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: localhost |
| | | host: 127.0.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 10 |
| | | # 密码 |
| | | #password: |
| | | password: akj78avauba789a |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |