diff --git a/springboot/fastbee-server/sip-server/src/main/java/com/fastbee/sip/handler/req/message/notify/cmdType/KeepaliveHandler.java b/springboot/fastbee-server/sip-server/src/main/java/com/fastbee/sip/handler/req/message/notify/cmdType/KeepaliveHandler.java index 695a63e7..aa6aef7d 100644 --- a/springboot/fastbee-server/sip-server/src/main/java/com/fastbee/sip/handler/req/message/notify/cmdType/KeepaliveHandler.java +++ b/springboot/fastbee-server/sip-server/src/main/java/com/fastbee/sip/handler/req/message/notify/cmdType/KeepaliveHandler.java @@ -59,9 +59,9 @@ public class KeepaliveHandler extends ReqAbstractHandler implements Initializing log.info("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime()); //log.warn("设备:{} 心跳上报时间:{}",deviceId,device.getLastconnecttime()); // 更新在线状态 - // sipDeviceService.updateSipDeviceStatus(device); + sipDeviceService.updateSipDeviceStatus(device); // 更新在线状态到emqx - mqttService.publishStatus(device, 3); + // mqttService.publishStatus(device, 3); // 更新通道状态 messageInvoker.catalogQuery(device); // 回复200 OK