| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://10.16.173.59:3306/lims-ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://localhost:3306/center-lims-ztns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: zttZTT123! |
| | | password: 123456 |
| | | # 从库数据源 |
| | | slave: |
| | | # 从数据源开关/默认关闭 |
| | |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | database: 1 |
| | | # # 密码 |
| | | # password: root2022! |
| | | # 连接超时时间 |
| | |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | cache-enabled: false |
| | | log-impl: # org.apache.ibatis.logging.stdout.StdOutImpl |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | |
| | | # Swagger配置 |
| | | swagger: |
| | |
| | | |
| | | # 人事系统 |
| | | personnel: |
| | | code: |
| | | appId: |
| | | appSecret: |
| | | companies: |
| | | simple: |
| | | password: |
| | | department: |
| | | person: |
| | | # 正式地址 |
| | | code: https://ztt-sso.ztt.cn/oauth2/token |
| | | # 装备人事正式库 |
| | | appId: 6f5f6a0c-2a01-4ef6-9e75-c8a6f0c2f044 |
| | | appSecret: 89b9c4735b1e5ee9d6a8544b9b38bb03 |
| | | companies: https://ztt-connector.ztt.cn/api/org/v1/companies |
| | | simple: https://ztt-connector.ztt.cn/api/org/v1/employees/simple?companyId= |
| | | # 人员密码获取 |
| | | password: https://ztt-connector.ztt.cn/api/org/v1/employees/original_pwd/ |
| | | department: https://ztt-connector.ztt.cn/api/org/v1/companies/companyId/departments |
| | | person: https://ztt-connector.ztt.cn/api/org/v1/employees/simple/ |
| | | |
| | | # 企业微信通知 |
| | | wechat: |