jiazx0107@163.com
2023-11-09 eebab358e2882fc7e3aeec152db5151a6bd0be02
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");