|
|
@@ -52,6 +52,10 @@ public class BytedanceReportNewServiceImpl implements IBytedanceReportNewService
|
|
|
s = HttpUtils.httpGet(url, paramsMap, headers);
|
|
|
}
|
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
|
+ if(Check.isNull(result)){
|
|
|
+ log.error("获取账户时报报返回结果为空,账户ID:{},返回结果:{}",advertiserId,s);
|
|
|
+ return;
|
|
|
+ }
|
|
|
List<BytedanceAdvertiserReportHourly> hours = new ArrayList<>();
|
|
|
Integer code = result.getInteger("code");
|
|
|
if (code == 0) {
|