zouyu
4 天以前 efe98e89b2d03f053aad877678f46f7512c63248
ruoyi-admin-ztns/src/main/resources/application-ztns.yml
@@ -10,7 +10,7 @@
      master:
        url: jdbc:mysql://127.0.0.1:3306/center-lims-ztns?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: zttZTT123!
        password: ~u8jSK784jMKJur7
      # 从库数据源
      slave:
@@ -50,8 +50,8 @@
        allow:
        url-pattern: /druid/*
        # 控制台管理用户名和密码
        login-username: ruoyi
        login-password: 123456
        login-username: ztns_admin
        login-password: ^60RkNBrAH7!6n)
      filter:
        stat:
          enabled: true
@@ -72,7 +72,7 @@
    # 数据库索引
    database: 1
    #    # 密码
    password: zttZTT123!
    password: iHDR^6&Z8Oj_2Mx
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -170,7 +170,7 @@
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns # clientId
    clientId: ztns01 # clientId
    subscribe: /ztt/v3/2455220/publish # 订阅主题
    client: true # 如果开发需要启动测试,需要改为false不然会一直报错
  - url: tcp://mqtt-ztt.zttiot.com:1883 # 服务器ip
@@ -180,6 +180,6 @@
    keepalive: 60 # 心跳 (单位:秒)
    qos: 1 # 心跳包级别
    completion-timeout: 3000 # 连接超时时间(单位:秒)
    clientId: ztns # clientId
    clientId: ztns02 # clientId
    subscribe: /ztt/v3/2455221/publish # 订阅主题
    client: true # 如果开发需要启动测试,需要改为false不然会一直报错