|
@@ -99,7 +99,7 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
|
}
|
|
|
//头条回传
|
|
|
if (CollectionUtils.isNotEmpty(urlParamMap) && Objects.equals(agent.getAccountType(), AccountTypeEnum.BYTE.getValue())) {
|
|
|
- Game game = gameService.getById(user.getGameId());
|
|
|
+ Game game = gameService.getById(agent.getGameId());
|
|
|
//判断是微信小游戏
|
|
|
if (Objects.equals(game.getCategory(), GameCategoryEnum.CATEGORY_WX_APPLET.getId())) {
|
|
|
TtUserActiveRpcDTO activeReportRpcDTO = this.transform(user, agent, gameApplet, urlParamMap);
|
|
@@ -145,7 +145,7 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
|
}
|
|
|
//头条回传
|
|
|
if (Objects.equals(agent.getAccountType(), AccountTypeEnum.BYTE.getValue())) {
|
|
|
- Game game = gameService.getById(user.getGameId());
|
|
|
+ Game game = gameService.getById(agent.getGameId());
|
|
|
//判断是微信小游戏
|
|
|
if (Objects.equals(game.getCategory(), GameCategoryEnum.CATEGORY_WX_APPLET.getId())) {
|
|
|
TtRoleRegisterRpcDTO ttRoleRegisterRpcDTO = this.transform(user, agent, gameUserRole, gameApplet);
|
|
@@ -196,7 +196,7 @@ public class CallBackServiceImpl implements ICallBackService {
|
|
|
//头条回传
|
|
|
if (Objects.equals(agent.getAccountType(), AccountTypeEnum.BYTE.getValue())) {
|
|
|
//判断游戏类型
|
|
|
- Game game = gameService.getById(platformOrderDTO.getGameId());
|
|
|
+ Game game = gameService.getById(agent.getGameId());
|
|
|
if (Objects.equals(game.getCategory(), GameCategoryEnum.CATEGORY_WX_APPLET.getId())) {
|
|
|
TtOrderRpcDTO ttOrderRpcDTO = this.transform(platformOrderDTO, user.getOpenId(), agent, gameApplet, user.getCreateTime());
|
|
|
ttMiniGameBackRpc.orderReport(ttOrderRpcDTO);
|