|
@@ -60,6 +60,8 @@ public class GameAppletServiceImpl extends ServiceImpl<GameAppletMapper, GameApp
|
|
|
|
|
|
@Override
|
|
|
public String appletMsgCheck(String appId, String signature, String timestamp, String nonce, String echoStr) throws Exception {
|
|
|
+ log.error("appId : {}, signature : {}, timestamp : {}, nonce : {}, echoStr : {}",
|
|
|
+ appId, signature, timestamp, nonce, echoStr);
|
|
|
GameAppletDTO gameAppletDTO = this.getByAppId(appId);
|
|
|
log.error("gameAppletDTO : {}", JsonUtil.toString(gameAppletDTO));
|
|
|
GameAppletDTO.MsgConfigBean msgConfigBean = gameAppletDTO.getMsgConfigBean();
|
|
@@ -167,9 +169,11 @@ public class GameAppletServiceImpl extends ServiceImpl<GameAppletMapper, GameApp
|
|
|
|
|
|
@Override
|
|
|
public GameAppletDTO getByAppId(String appId) {
|
|
|
+ log.error("22222 appId : {}", appId);
|
|
|
GameApplet gameApplet = super.getOne(new LambdaQueryWrapper<GameApplet>()
|
|
|
.eq(GameApplet::getAppId, appId));
|
|
|
if (gameApplet == null) {
|
|
|
+ log.error("查询到的小程序信息为空");
|
|
|
throw new BaseException("参数错误, 游戏小程序信息不存在");
|
|
|
}
|
|
|
return BeanUtil.copy(gameApplet, GameAppletDTO.class);
|