Browse Source

异步线程修改

kk 1 month ago
parent
commit
319575978e

+ 1 - 1
game-business/src/main/java/com/game/business/websocket/client/GameSevenClient.java

@@ -23,7 +23,7 @@ public class GameSevenClient {
     public void onOpen(Session session) throws Exception{
         System.out.println("game seven 游戏已连接 server");
         session.getBasicRemote().sendText("ping");
-        Common.sessionMap.put(Common.GAME_SIX_CODE, session);
+        Common.sessionMap.put(Common.GAME_SEVEN_CODE, session);
     }
 
     @OnClose