| | |
| | | server: |
| | | port: 8585 |
| | | |
| | | expert: |
| | | # 名称 |
| | | name: expert |
| | | # 版本 |
| | | version: 1.0.0 |
| | | # 版权年份 |
| | | copyrightYear: 2024 |
| | | # 文件路径 示例( Windows配置D:/expert/uploadPath,Linux配置 /home/expert/uploadPath) |
| | | profile: D:/expert/uploadPath |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | # 验证码类型 math 数字计算 char 字符验证 |
| | | captchaType: math |
| | | |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | | com.gkhy: debug |
| | | org.springframework: warn |
| | | # Swagger配置 |
| | | swagger: |
| | | # 是否开启swagger |
| | | enabled: true |
| | | # 请求前缀 |
| | | pathMapping: / |
| | | # 数据源配置 |
| | | spring: |
| | | datasource: |
| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://localhost:3306/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true |
| | | url: jdbc:mysql://192.168.2.90:7006/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true |
| | | username: root |
| | | password: 123456 |
| | | password: 2farwL3yPXfbH2AP |
| | | # 从库数据源 |
| | | slave: |
| | | # 从数据源开关/默认关闭 |
| | |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: localhost |
| | | host: 192.168.2.90 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |