From 6702e3414feece3755810418cca909cad8411de3 Mon Sep 17 00:00:00 2001 From: "zhuangpeng.li" <908349383@qq.com> Date: Mon, 15 Jul 2024 17:55:57 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../handler/req/message/notify/cmdType/KeepaliveHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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