chenrui
2025-04-03 deb25b1c56eafc4a8a9fc293b7807baad99e216c
ruoyi-admin/src/main/resources/application-druid.yml
@@ -8,7 +8,11 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://114.132.189.42:9004/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: 123456
      # 从库数据源
@@ -96,15 +100,28 @@
  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:
  # 是否开启swagger
  enabled: true
# 日志配置
logging:
  file-location: /javaWork/lims-ruoyi
  level:
    com.ruoyi: info
    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:
@@ -113,7 +130,6 @@
  allowed: png,jpg,jpeg,gif
wordUrl: D:\项目文件存储\word
twoCode: D:\项目文件存储\two_code
#oa:
@@ -121,6 +137,18 @@
#    prodIp: http://192.168.21.53:8081
#    unqualifiedProcessId: 41974
# 人事系统
personnel:
  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:
  # 质量报检通知
  examiningUrl: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964