| | |
| | | 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(); |
| | | } |
| | | } |
| | |
| | | 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 |