Parcourir la source

修改内容:回传

shishaosong il y a 1 an
Parent
commit
3380863f93

+ 4 - 0
game-back/game-back-serve/src/main/java/com/zanxiang/game/back/serve/service/impl/GameBackPolicyServiceImpl.java

@@ -141,8 +141,10 @@ public class GameBackPolicyServiceImpl extends ServiceImpl<GameBackPolicyMapper,
             ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
             ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
             if (result.getCode() == HttpStatus.HTTP_OK) {
             if (result.getCode() == HttpStatus.HTTP_OK) {
                 gameTencentOrder.setIsBack(BackStatusEnum.FAILED.getBackStatus());
                 gameTencentOrder.setIsBack(BackStatusEnum.FAILED.getBackStatus());
+                gameTencentOrder.setBackLog("回传成功");
                 gameTencentOrderService.updateById(gameTencentOrder);
                 gameTencentOrderService.updateById(gameTencentOrder);
 
 
+                gameTencentBackLog.setBackLog("回传成功");
                 gameTencentBackLogService.save(gameTencentBackLog);
                 gameTencentBackLogService.save(gameTencentBackLog);
             } else {
             } else {
                 log.error("回传腾讯订单失败,失败原因:{}", result.getMsg());
                 log.error("回传腾讯订单失败,失败原因:{}", result.getMsg());
@@ -211,8 +213,10 @@ public class GameBackPolicyServiceImpl extends ServiceImpl<GameBackPolicyMapper,
             ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
             ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
             if (result.getCode() == HttpStatus.HTTP_OK) {
             if (result.getCode() == HttpStatus.HTTP_OK) {
                 gameTencentUser.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
                 gameTencentUser.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
+                gameTencentUser.setBackLog("回传成功");
                 gameTencentUserService.updateById(gameTencentUser);
                 gameTencentUserService.updateById(gameTencentUser);
 
 
+                gameTencentBackLog.setBackLog("回传成功");
                 gameTencentBackLogService.save(gameTencentBackLog);
                 gameTencentBackLogService.save(gameTencentBackLog);
             } else {
             } else {
                 log.error("回传腾讯用户失败,失败原因:{}", result.getMsg());
                 log.error("回传腾讯用户失败,失败原因:{}", result.getMsg());

+ 2 - 0
game-back/game-back-serve/src/main/java/com/zanxiang/game/back/serve/service/impl/GameTencentOrderServiceImpl.java

@@ -116,8 +116,10 @@ public class GameTencentOrderServiceImpl extends ServiceImpl<GameTencentOrderMap
                     ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
                     ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
                     if (result.getCode() == HttpStatus.HTTP_OK) {
                     if (result.getCode() == HttpStatus.HTTP_OK) {
                         gameTencentOrder.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
                         gameTencentOrder.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
+                        gameTencentOrder.setBackLog("回传成功");
                         updateById(gameTencentOrder);
                         updateById(gameTencentOrder);
 
 
+                        gameTencentBackLog.setBackLog("回传成功");
                         gameTencentBackLogService.save(gameTencentBackLog);
                         gameTencentBackLogService.save(gameTencentBackLog);
                     } else {
                     } else {
                         log.error("回传腾讯订单失败,失败原因:{}", result.getMsg());
                         log.error("回传腾讯订单失败,失败原因:{}", result.getMsg());

+ 2 - 0
game-back/game-back-serve/src/main/java/com/zanxiang/game/back/serve/service/impl/GameTencentUserServiceImpl.java

@@ -99,8 +99,10 @@ public class GameTencentUserServiceImpl extends ServiceImpl<GameTencentUserMappe
                     ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
                     ResultVO<Boolean> result = userActionSetRpc.reportByAppId(dataReportOfAppIdRpcDTO);
                     if (result.getCode() == HttpStatus.HTTP_OK) {
                     if (result.getCode() == HttpStatus.HTTP_OK) {
                         gameTencentUser.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
                         gameTencentUser.setIsBack(BackStatusEnum.SUCCESS.getBackStatus());
+                        gameTencentUser.setBackLog("回传成功");
                         updateById(gameTencentUser);
                         updateById(gameTencentUser);
 
 
+                        gameTencentBackLog.setBackLog("回传成功");
                         gameTencentBackLogService.save(gameTencentBackLog);
                         gameTencentBackLogService.save(gameTencentBackLog);
                     } else {
                     } else {
                         log.error("回传腾讯用户失败,失败原因:{}", result.getMsg());
                         log.error("回传腾讯用户失败,失败原因:{}", result.getMsg());