瀏覽代碼

加日志

wcc 1 年之前
父節點
當前提交
68bc9a23b6

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/controller/AgentController.java

@@ -49,7 +49,7 @@ public class AgentController {
                 throw new BaseException("头条广告账号必须填入回传的 token 和 url");
                 throw new BaseException("头条广告账号必须填入回传的 token 和 url");
             }
             }
             dto.setReportToken(dto.getReportToken().trim());
             dto.setReportToken(dto.getReportToken().trim());
-            dto.setReportUrl(dto.getReportUrl());
+            dto.setReportUrl(dto.getReportUrl().trim());
         }
         }
         if (dto.getPutStatus() == null) {
         if (dto.getPutStatus() == null) {
             dto.setPutStatus(Agent.PUT_STATUS_ING);
             dto.setPutStatus(Agent.PUT_STATUS_ING);

+ 2 - 0
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/AgentServiceImpl.java

@@ -104,6 +104,8 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
                 .accountId(param.getAccountId())
                 .accountId(param.getAccountId())
                 .gameId(param.getGameId())
                 .gameId(param.getGameId())
                 .userActionSetId(param.getUserActionSetId())
                 .userActionSetId(param.getUserActionSetId())
+                .reportToken(param.getReportToken())
+                .reportUrl(param.getReportUrl())
                 .backPolicyId(param.getBackPolicyId())
                 .backPolicyId(param.getBackPolicyId())
                 .putStatus(param.getPutStatus())
                 .putStatus(param.getPutStatus())
                 .createTime(LocalDateTime.now())
                 .createTime(LocalDateTime.now())