|
|
@@ -25,6 +25,7 @@ import java.util.Map;
|
|
|
public class BytedanceAccountReportServiceImpl implements IBytedanceAccountReportService {
|
|
|
@Autowired
|
|
|
private BytedanceAccountReportMapper accountReportMapper;
|
|
|
+
|
|
|
@Override
|
|
|
public void getBytedanceRetryAccountHourReport(Long errorId, Long advertiserId, String accessToken, String startDate, String endDate, Integer page, Integer isSend) {
|
|
|
try {
|
|
|
@@ -71,7 +72,7 @@ public class BytedanceAccountReportServiceImpl implements IBytedanceAccountRepor
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- log.info("账户id:{},日期:{}广告时报(账户粒度)请求结果为空,result:{}", advertiserId, startDate,result.getString("message"));
|
|
|
+ log.info("账户id:{},日期:{}广告时报(账户粒度)请求结果为空,result:{}", advertiserId, startDate, result.getString("message"));
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
@@ -89,7 +90,7 @@ public class BytedanceAccountReportServiceImpl implements IBytedanceAccountRepor
|
|
|
log.info("账户ID:{},日期:{},广告时报(账户粒度)数据请求成功", advertiserId, startDate);
|
|
|
accountReportMapper.deleteInfoByErrorId(errorId);
|
|
|
if (isSend == 1) {
|
|
|
- AlertUtils.sendMessage(advertiserId, startDate, endDate, 1, "hour", 1);
|
|
|
+ AlertUtils.sendMessage(advertiserId, startDate, endDate, 1, "hour", 1, "account");
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
@@ -159,7 +160,7 @@ public class BytedanceAccountReportServiceImpl implements IBytedanceAccountRepor
|
|
|
log.info("账户ID:{},日期:{},广告时报(账户粒度)数据请求成功", advertiserId, startDate);
|
|
|
accountReportMapper.deleteInfoByErrorId(errorId);
|
|
|
if (isSend == 1) {
|
|
|
- AlertUtils.sendMessage(advertiserId, startDate, endDate, 1, "hour", 1);
|
|
|
+ AlertUtils.sendMessage(advertiserId, startDate, endDate, 1, "hour", 1,"account");
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|