src/main/java/com/fzzy/gateway/GatewayUtils.java
@@ -11,7 +11,6 @@ public class GatewayUtils { /** * 设备在线标记,针对WEBSocket请求,控制设备是否在线,key = deviceId,Value=Y/N */ @@ -47,8 +46,6 @@ cacheMapDeviceId.remove(data.getDeviceId()); cacheMapDeviceSn.remove(data.getDeviceSn()); } public static void updateOnline(String deviceId) { contextOnlineMap.put(deviceId, "Y");