张晓波
2023-10-12 8e5175417fc30bbb7a2625913ef51726baf6f191
删除大屏 mq
已修改2个文件
9 ■■■■■ 文件已修改
hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/face/entity/FaceResult.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hd/pipe/StaffManage/src/main/resources/application-dev.yml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hd/pipe/StaffManage/src/main/java/com/thhy/staff/modules/biz/face/entity/FaceResult.java
@@ -34,6 +34,9 @@
        this.msg = "登录成功";
        this.dev_sno = faceDevice.getDevSno();
        this.mqinfo = JSON.parseObject(emqxConfig);
        this.mqinfo.put("topic",faceDevice.getDevSno());
        this.mqinfo.put("willTopic",faceDevice.getDevSno()+"-W");
        this.mqinfo.put("willContent",faceDevice.getDevSno()+"-offline");
        this.token = UUIDUtils.create();
    }
}
hd/pipe/StaffManage/src/main/resources/application-dev.yml
@@ -21,10 +21,10 @@
global:
  filePrefix: https://pipe.thhy-tj.com/
emqx:
  host: 111.30.93.212
  host: 111.30.93.215
  port: 1883
  username: io
  password: io
  username: thhy
  password: thhy123
  qos: 1
  topic: FF:AA:F4:12:67:05
  willTopic: FF:AA:F4:12:67:05-W