yumeng 2 년 전
부모
커밋
6c17f311d6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/service/impl/AdUnitReportServiceImpl.java

+ 4 - 4
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/service/impl/AdUnitReportServiceImpl.java

@@ -64,7 +64,7 @@ public class AdUnitReportServiceImpl implements IAdUnitReportService {
     @Override
     public void getAdUnitReport(Long advertiserId, String accessToken, String startDate, String endDate, int page) {
         log.info("accountId:=={}=====获取广告组数据信息====page--{}===》》》》", advertiserId, page);
-        Integer page_size = 500;
+        Integer page_size = 200;
 
         Map<String, String> headers = new HashMap<>();
         headers.put("Access-Token", accessToken);
@@ -79,10 +79,10 @@ public class AdUnitReportServiceImpl implements IAdUnitReportService {
         }
         param.put("page_size", page_size);
         param.put("page", page);
-
+        log.info("入参:", param);
 
         String result = HttpUtils.httpPostRequest(postUrl + KuaishouConstant.AD_UNIT_LIST, param, headers);
-       // System.err.println(result);
+        // System.err.println(result);
 
         JSONObject resultJson = JSONObject.parseObject(result);
         if (Check.isNull(resultJson)) {
@@ -112,7 +112,7 @@ public class AdUnitReportServiceImpl implements IAdUnitReportService {
 
         if (!Check.isNull(ksAdUnitList)) {
             adUnitReportMapper.replaceBatchKsAdUnit(ksAdUnitList);
-            log.info("组数据添加成功,accountId:{},条数:{}",advertiserId,ksAdUnitList.size());
+            log.info("组数据添加成功,accountId:{},条数:{}", advertiserId, ksAdUnitList.size());
         }
 
         //是否有下一页