Browse Source

删除无用的日志打印

songyh 3 years ago
parent
commit
dec01799d4

+ 0 - 3
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/service/impl/ByteDanceAdvertiserDataServiceImpl.java

@@ -61,7 +61,6 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
             params.put("advertiser_id", accountId);
             String result = HttpUtils.httpGetRequest(url, headers, params);
             JSONObject jsonObject = JSONObject.parseObject(result);
-            System.err.println(jsonObject);
             if (Check.isNull(jsonObject)) {
                 throw new Exception("返回结果为空");
             }
@@ -729,14 +728,12 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
             log.info("获取视频素材完成==》accountId:{},message:{}", token.getAccountId(), resultObject.getString("message"));
             return;
         }
-        log.info("数据数量======》》》{}",data.size());
         List<ByteDanceVideoInfo> videoInfoList = new ArrayList<>();
         for (int i = 0; i < data.size(); i++) {
             JSONObject dataObject = data.getJSONObject(i);
             ByteDanceVideoInfo videoInfo = new ByteDanceVideoInfo(dataObject, token);
             videoInfoList.add(videoInfo);
         }
-        log.info("数据======》》》{}",videoInfoList);
         videoInfoService.replaceBatch(videoInfoList);
         getVideoByPage(token, videoIds, page + 1);
     }