chenrui
2025-04-03 deb25b1c56eafc4a8a9fc293b7807baad99e216c
ruoyi-admin/src/main/resources/application-druid.yml
@@ -8,9 +8,13 @@
    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://127.0.0.1:3306/lims-ruoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#        username: root
#        password: zttZTT123!
        # 工时数据库
        url: jdbc:mysql://114.132.189.42:9004/zt_radio_requency?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: zttZTT123!
        password: 123456
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
@@ -111,12 +115,13 @@
    org.springframework: warn
minio:
  endpoint: http://114.132.189.42/
  port: 7019
  endpoint: http://114.132.189.42:7019
  secure: false
  accessKey: admin
  secretKey: 12345678
  preview-expiry: 24 # 预览地址默认24小时
  bucketName: radio-frequency
  publicUrl:
# 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
file:
@@ -134,14 +139,14 @@
# 人事系统
personnel:
  code:
  appId:
  appSecret:
  companies:
  simple:
  password:
  department:
  person:
  code: https://ztt-sso.ztt.cn/oauth2/token
  appId: f6f3d70f-3666-4d3d-b9c5-430de3f6007c
  appSecret: a18923496542302066b0a7bec993a4e2
  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: