kk преди 1 месец
родител
ревизия
319575978e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      game-business/src/main/java/com/game/business/websocket/client/GameSevenClient.java

+ 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