ソースを参照

Merge remote-tracking branch 'origin/master'

syh 5 年 前
コミット
5c8ff20594

+ 7 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/job/KuaishouDailyCreativeReportLoadJob.java

@@ -65,7 +65,12 @@ public class KuaishouDailyCreativeReportLoadJob implements Job {
                                 if (!Check.isNull(campaigns) && campaigns.size() > 0) {
                                     for (int i = 0; i < campaigns.size(); i++) {
                                         JSONArray campaignIds = (JSONArray) JSONArray.parse(campaigns.get(i).toJSONString());
-                                        kuaishouInterfaceService.getAdvertiserCreativeReportDaily(token, getDate, getDate, campaignIds);
+                                        try {
+                                            kuaishouInterfaceService.getAdvertiserCreativeReportDaily(token, getDate, getDate, campaignIds);
+                                        } catch (Exception e) {
+                                            log.info("获取创意日报失败,accountId:{}", token.getAccountId());
+                                        }
+
                                     }
 
                                 }
@@ -84,4 +89,5 @@ public class KuaishouDailyCreativeReportLoadJob implements Job {
         thread.start();
 
     }
+
 }