1.代码更新

This commit is contained in:
zhuangpeng.li
2024-07-15 17:55:57 +08:00
parent 65390f9ca8
commit 6702e3414f

View File

@@ -59,9 +59,9 @@ public class KeepaliveHandler extends ReqAbstractHandler implements Initializing
log.info("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime()); log.info("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime());
//log.warn("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime()); //log.warn("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime());
// 更新在线状态 // 更新在线状态
// sipDeviceService.updateSipDeviceStatus(device); sipDeviceService.updateSipDeviceStatus(device);
// 更新在线状态到emqx // 更新在线状态到emqx
mqttService.publishStatus(device, 3); // mqttService.publishStatus(device, 3);
// 更新通道状态 // 更新通道状态
messageInvoker.catalogQuery(device); messageInvoker.catalogQuery(device);
// 回复200 OK // 回复200 OK