|
|
@@ -158,6 +158,11 @@ 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<BytedanceAdvertiserReportDaily> dailies = new ArrayList<>();
|
|
|
Integer code = result.getInteger("code");
|
|
|
if (code == 0) {
|