zouyu
5 天以前 e1284aa3b1b400ecebb59126d7110a3bb4a6b000
ruoyi-admin/src/main/resources/application-druid.yml
@@ -8,7 +8,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3306/center-lims?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3307/center-lims-ztzb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
      # 从库数据源
@@ -71,7 +71,7 @@
    # 数据库索引
    database: 0
    #    # 密码
    #    password: root2022!
    password: 123456
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -96,7 +96,7 @@
  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:
@@ -134,19 +134,28 @@
# 人事系统
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:
  # 质量报检通知
  examiningUrl: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964
  examiningUrl: #https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=21993616-9966-4fe4-81b0-68e99a40c964
mes:
  ztzb:
    ip: http://192.168.7.48:8100
    user: chen
    password: ojAX5Ws3z0/LXRtjGdjKYQ==
ifs:
  contract: ZTZB