zouyu
10 小时以前 52a7c9b093bcb05ee128b3ad8338007aad2cfccb
ruoyi-admin-ztns/src/main/resources/application-druid.yml
@@ -8,7 +8,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3306/center-lims-ztns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3307/center-lims-ztns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
      # 从库数据源
@@ -72,12 +72,13 @@
    database: 1
    #    # 密码
    #    password: root2022!
    password: 123456
    # 连接超时时间
    timeout: 10s
    lettuce:
      pool:
        # 连接池中的最小空闲连接
        min-idle: 0
        min-idle: 2
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池的最大数据库连接数
@@ -149,25 +150,79 @@
# 企业微信通知
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
ifs:
  contract: ZTZB
  contract-key-get: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo=
  contract-key-post: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo=
  custorder: http://192.168.20.47/PurchService.ashx?
  custorder-port: http://192.168.20.47:8008/PurchService.ashx?
  erp-services: http://192.168.20.47:8081
  props:
    - contract: ZTNS #中天耐丝域
      contract-key-get: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo=  #get请求密钥
      contract-key-post: 4ttDeLKNsZuhstjtROMcRE1USNFXKdFYE7lQ2p1m5Bo= #post请求密钥
      custorder: http://192.168.20.47/PurchService.ashx?              #get请求地址
      custorder-port: http://192.168.20.47:8008/PurchService.ashx?    #post请求地址
      erp-services: http://192.168.20.47:8081                         #erp请求地址
      tobe-inspected-location: 1302                                   #待检库位
      raw-qualified-location: 1301                                    #原材料合格库位
      product-qualified-location: CP-02-001                           #成品合格库位
    - contract: KJNS #科技耐丝域
      contract-key-get: ueWGmvzoc4iR0y%2FsP6iOMeYn3ohC45KTCl3dZ94WaNk%3D #get请求密钥
      contract-key-post: ueWGmvzoc4iR0y/sP6iOMeYn3ohC45KTCl3dZ94WaNk=    #post请求密钥
      custorder: http://192.168.20.50/PurchService.ashx?                 #get请求地址
      custorder-port: http://192.168.20.50:8008/PurchService.ashx?       #post请求地址
      erp-services: http://192.168.20.50:8081                            #erp请求地址
      tobe-inspected-location: A101                                      #待检库位
      raw-qualified-location: A201                                       #原材料合格库位
      product-qualified-location: C101                                   #成品合格库位
mes:
  props:
    - contract: ZTNS
      ip: http://10.16.173.36
      user: lims
      password: qCzOMJlqE8TYOHDWGva/Tw==
    - contract: KJNS
      ip: http://10.1.203.177
      user: lims
      password: qCzOMJlqE8TYOHDWGva/Tw==
# 备注 18083密码:zttZTT123!@
mqtt:
  url: tcp://mqtt-ztt.zttiot.com:1883 # 服务器ip
  username: forwarder # MQTT-服务端-用户名,后期会修改为用户登录名
  password: ZTlink12345 # MQTT-服务端-密码,,后期会修改为用户登录密码
  timeout: 100 # 超时时间 (单位:秒)
  keepalive: 60 # 心跳 (单位:秒)
  qos: 1 # 心跳包级别
  completion-timeout: 3000 # 连接超时时间(单位:秒)
  clientId: javaPublish # clientId
  subscribe: /ztt/v3/2443521/publish # 订阅主题
  client: false # 如果开发需要启动测试,需要改为false不然会一直报错
  - url: tcp://192.168.21.97:1883 # 服务器ip
    username: admin # MQTT-服务端-用户名,后期会修改为用户登录名
    password: public # MQTT-服务端-密码,,后期会修改为用户登录密码
    timeout: 100 # 超时时间 (单位:秒)
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns_gc_scl_108303_dev # clientId,过程试验室伸长率设备
    subscribe: /aiot/5447dad0-c6b9-11f0-8b13-c14e8310d70b # 订阅主题
    client: false # 如果开发需要启动测试,需要改为false不然会一直报错
  - url: tcp://192.168.21.97:1883 # 服务器ip
    username: admin # MQTT-服务端-用户名,后期会修改为用户登录名
    password: public # MQTT-服务端-密码,,后期会修改为用户登录密码
    timeout: 100 # 超时时间 (单位:秒)
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns_gc_dz_108301_dev # clientId
    subscribe: /aiot/51eaff10-c6b9-11f0-8b13-c14e8310d70b # 订阅主题
    client: false # 如果开发需要启动测试,需要改为false不然会一直报错
  - url: tcp://192.168.21.97:1883 # 服务器ip
    username: admin # MQTT-服务端-用户名,后期会修改为用户登录名
    password: public # MQTT-服务端-密码,,后期会修改为用户登录密码
    timeout: 100 # 超时时间 (单位:秒)
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns_cp_scl_108295_dev # clientId,成品试验室伸长率设备
    subscribe: /aiot/a4b27900-c6b7-11f0-8b13-c14e8310d70b # 订阅主题
    client: false # 如果开发需要启动测试,需要改为false不然会一直报错
  - url: tcp://192.168.21.97:1883 # 服务器ip
    username: admin # MQTT-服务端-用户名,后期会修改为用户登录名
    password: public # MQTT-服务端-密码,,后期会修改为用户登录密码
    timeout: 100 # 超时时间 (单位:秒)
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns_cp_dz_108300_dev # clientId,成品试验室电阻
    subscribe: /aiot/4e40cdb0-c6b7-11f0-8b13-c14e8310d70b # 订阅主题
    client: false # 如果开发需要启动测试,需要改为false不然会一直报错