|
@@ -158,7 +158,6 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
} else {
|
|
} else {
|
|
|
log.error("请求创意日报完成,account_id:{},日期:{}", advertiserId, startDate);
|
|
log.error("请求创意日报完成,account_id:{},日期:{}", advertiserId, startDate);
|
|
|
adqReportMapper.deleteInfoByErrorId(errorId);
|
|
adqReportMapper.deleteInfoByErrorId(errorId);
|
|
|
- sendMessage(advertiserId, startDate, endDate, 3, "daily", 1);
|
|
|
|
|
if (isSend == 1) {
|
|
if (isSend == 1) {
|
|
|
sendMessage(advertiserId, startDate, endDate, 3, "daily", 1);
|
|
sendMessage(advertiserId, startDate, endDate, 3, "daily", 1);
|
|
|
}
|
|
}
|
|
@@ -185,12 +184,10 @@ public class AdqRetryReportServiceImpl implements IAdqRetryReportService {
|
|
|
param.put("type", type);
|
|
param.put("type", type);
|
|
|
String s = HttpUtils.httpPostRequest(sendUrl, param, new HashMap<>());
|
|
String s = HttpUtils.httpPostRequest(sendUrl, param, new HashMap<>());
|
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
|
- System.err.println(jsonObject);
|
|
|
|
|
if (!Check.isNull(jsonObject)) {
|
|
if (!Check.isNull(jsonObject)) {
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
if (code == 200) {
|
|
if (code == 200) {
|
|
|
log.info("请求数据清洗服务成功,account_id:{}", account_id);
|
|
log.info("请求数据清洗服务成功,account_id:{}", account_id);
|
|
|
-
|
|
|
|
|
} else {
|
|
} else {
|
|
|
sendMessage(account_id, start_date, end_date, media_type, type, count + 1);
|
|
sendMessage(account_id, start_date, end_date, media_type, type, count + 1);
|
|
|
}
|
|
}
|