Pārlūkot izejas kodu

项目自动化调试,优化逻辑

zhaoxian 3 gadi atpakaļ
vecāks
revīzija
5b5b312989

+ 1 - 3
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouVideoRelateCreativesServiceImpl.java

@@ -114,9 +114,7 @@ public class KuaishouVideoRelateCreativesServiceImpl extends ServiceImpl<Kuaisho
                 params.put("advertiser_id", accountId);
                 params.put("photo_ids", photoIds.getJSONArray(i));
                 String result = HttpUtils.httpPostRequest(url, params, header);
-                log.info(params.toJSONString());
                 JSONObject resultJson = JSONObject.parseObject(result);
-                log.info(resultJson.toJSONString());
                 if (!Check.isNull(resultJson)) {
                     Integer code = resultJson.getInteger("code");
                     if (code == 0) {
@@ -138,7 +136,7 @@ public class KuaishouVideoRelateCreativesServiceImpl extends ServiceImpl<Kuaisho
                             kuaishouVideoRelateCreativesMapper.insertBatch(videolist);
                         }
                     } else {
-                        log.info("频库-视频关联创意数查询失败,accountId:{},返回信息:{}", accountId, resultJson);
+                        log.info("频库-视频关联创意数查询失败,入参:{},返回结果:{}", params, resultJson);
                     }
                 }
             }