|
@@ -744,7 +744,7 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
|
|
|
if(!Check.isNull(json)){
|
|
|
Integer code = json.getInteger("code");
|
|
|
if(code != 0){
|
|
|
- log.info("返回信息错误,错误码为:" + code + ",头条accountId:" + accountId + ",message:"+ json.getString("message"));
|
|
|
+ log.error("返回信息错误,错误码为:" + code + ",头条accountId:" + accountId + ",message:"+ json.getString("message"));
|
|
|
return;
|
|
|
}
|
|
|
JSONObject dataJson = json.getJSONObject("data");
|
|
@@ -810,13 +810,13 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
|
|
|
|
|
|
try {
|
|
|
String jsonString = JSON.toJSONString(json);
|
|
|
- log.info("返回json为" + jsonString);
|
|
|
+ //log.info("返回json为" + jsonString);
|
|
|
|
|
|
if(!Check.isNull(json)){
|
|
|
Integer code = json.getInteger("code");
|
|
|
if(code != 0){
|
|
|
log.info("获取任务列表返回信息错误,错误码为:" + code + ",头条accountId:" + accountId + "taskId:" + task.getTaskId());
|
|
|
- return;
|
|
|
+ continue;
|
|
|
}
|
|
|
|
|
|
JSONObject jsonData = json.getJSONObject("data");
|
|
@@ -1082,7 +1082,7 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
|
|
|
//Long insertEndTime = System.currentTimeMillis();
|
|
|
//log.info("头条获取素材报表插入数据结束,执行耗时:{}秒", (insertEndTime - insertStartTime) / 1000);
|
|
|
if(currentPage >= totalPage){
|
|
|
- log.info("accountId:" + accountId + "数据同步完成,开始时间:" + startDate + ",结束时间:"+ endDate);
|
|
|
+ //log.info("accountId:" + accountId + "数据同步完成,开始时间:" + startDate + ",结束时间:"+ endDate);
|
|
|
//returnCode = 1;
|
|
|
return 1;
|
|
|
}else{
|