Prechádzať zdrojové kódy

fix : 调试修改05

bilingfeng 1 rok pred
rodič
commit
65f87b2234

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/ManageApplication.java

@@ -23,7 +23,7 @@ public class ManageApplication {
 
     public static void main(String[] args) {
         SpringApplication.run(ManageApplication.class, args);
-        System.out.println("赞象Manage服务启动成功 <调试修改04> ( ´・・)ノ(._.`) \n" +
+        System.out.println("赞象Manage服务启动成功 <调试修改05> ( ´・・)ノ(._.`) \n" +
                 "___  ___  ___   _   _   ___  _____  _____ \n" +
                 "|  \\/  | / _ \\ | \\ | | / _ \\|  __ \\|  ___|\n" +
                 "| .  . |/ /_\\ \\|  \\| |/ /_\\ \\ |  \\/| |__  \n" +

+ 2 - 2
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/config/KfMsgWebSocketConfig.java

@@ -19,8 +19,8 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
  * @time : 2024-02-23
  * @description : 客服消息WebSocket配置
  */
-//@Configuration
-//@EnableWebSocket
+@Configuration
+@EnableWebSocket
 public class KfMsgWebSocketConfig implements WebSocketConfigurer {
 
     private final KfMsgWebsocketHandler kfMsgWebsocketHandler;

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/controller/KfMsgController.java

@@ -66,7 +66,7 @@ public class KfMsgController {
     @ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = String.class)})
     public ResultVO<String> list(@Validated @RequestBody KfApiParam param, HttpServletRequest request) {
         if (SecurityUtil.getUserId() == 413) {
-            log.error("----------------> 2222222222222222222, param : {}, ip : {}, ua : {}, token : {}",
+            log.error("----------------> 888888888888888, param : {}, ip : {}, ua : {}, token : {}",
                     JsonUtil.toString(param), IpUtil.getRealIp(request), request.getHeader("User-Agent"), SecurityUtil.getToken());
         }
         return ResultVO.ok(kfMsgService.kfApi(param));