nishiwei
2026-10-16 e33b92fe82818792d1891f842ccde97fef51c731
ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java
@@ -28,4 +28,9 @@
    public static int getOnlineUserCount() {
        return ONLINE_USER_SESSIONS.size();
    }
    public static boolean containsUser(Long userId) {
        return ONLINE_USER_SESSIONS.containsKey(userId);
    }
}