|
@@ -85,6 +85,10 @@ public class GameAppletServiceImpl extends ServiceImpl<GameAppletMapper, GameApp
|
|
|
return "success";
|
|
|
}
|
|
|
AppletMsgDTO appletMsgDTO = JsonUtil.toObj(postData, AppletMsgDTO.class);
|
|
|
+ //消息内容判断, 值回复文本消息为2的内容
|
|
|
+ if (!Objects.equals(appletMsgDTO.getMsgType(), "text") && !Objects.equals(appletMsgDTO.getContent(), "2")) {
|
|
|
+ return "success";
|
|
|
+ }
|
|
|
//查询用户信息
|
|
|
User user = userService.getOne(new LambdaQueryWrapper<User>()
|
|
|
.eq(User::getGameId, gameApplet.getGameId())
|