|
@@ -58,6 +58,7 @@ public class AdqCreativeCreativeReportServiceImpl implements IAdqCreativeReportS
|
|
|
paramsMap.put("fields", fieldsList);
|
|
paramsMap.put("fields", fieldsList);
|
|
|
List<AdqCreativeReportHour> hourList = new ArrayList<>();
|
|
List<AdqCreativeReportHour> hourList = new ArrayList<>();
|
|
|
String s = HttpUtils.httpGet("https://api.e.qq.com/v3.0/hourly_reports/get", paramsMap, null);
|
|
String s = HttpUtils.httpGet("https://api.e.qq.com/v3.0/hourly_reports/get", paramsMap, null);
|
|
|
|
|
+ // System.err.println(s);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
|
if (!Check.isNull(jsonObject)) {
|
|
if (!Check.isNull(jsonObject)) {
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
Integer code = jsonObject.getInteger("code");
|
|
@@ -94,7 +95,7 @@ public class AdqCreativeCreativeReportServiceImpl implements IAdqCreativeReportS
|
|
|
adqReportMapper.addsHourList(hourList);
|
|
adqReportMapper.addsHourList(hourList);
|
|
|
log.info("新增数据完成account:id:{}", advertiserId);
|
|
log.info("新增数据完成account:id:{}", advertiserId);
|
|
|
try {
|
|
try {
|
|
|
- adqReportMapper.addsHourListSD(hourList);
|
|
|
|
|
|
|
+ // adqReportMapper.addsHourListSD(hourList);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
log.error("addsHourListSD", e);
|
|
log.error("addsHourListSD", e);
|
|
|
}
|
|
}
|