소스 검색

feat : 调试bug修改

bilingfeng 2 년 전
부모
커밋
adf905b455
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      game-module/game-sdk/src/main/java/com/zanxiang/sdk/service/Impl/GameAppletServiceImpl.java

+ 1 - 1
game-module/game-sdk/src/main/java/com/zanxiang/sdk/service/Impl/GameAppletServiceImpl.java

@@ -86,7 +86,7 @@ public class GameAppletServiceImpl extends ServiceImpl<GameAppletMapper, GameApp
         }
         AppletMsgDTO appletMsgDTO = JsonUtil.toObj(postData, AppletMsgDTO.class);
         //消息内容判断, 值回复文本消息为2的内容
-        if (!Objects.equals(appletMsgDTO.getMsgType(), "text") && !Objects.equals(appletMsgDTO.getContent(), "2")) {
+        if (!Objects.equals(appletMsgDTO.getMsgType(), "text") || !Objects.equals(appletMsgDTO.getContent(), "2")) {
             return "success";
         }
         //查询用户信息