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