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