|
|
@@ -53,7 +53,7 @@ public class BytedanceController {
|
|
|
@GetMapping("/accountReport")
|
|
|
public void getChannel(String param) {
|
|
|
|
|
|
- List<JSONObject> infos = adminAdvertiserListService.getAdvertiserInfos();
|
|
|
+ List<JSONObject> infos = adminAdvertiserListService.getAdvertiserInfos();
|
|
|
System.err.println(infos);
|
|
|
adminAdvertiserListService.batchUpdateAdvertiserName(infos);
|
|
|
|
|
|
@@ -91,6 +91,7 @@ public class BytedanceController {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
if (!Check.isNull(accessToken)) {
|
|
|
+ productReportService.deleteBytedanceProductDailyReport(advertiserId, startDate, endDate);
|
|
|
productReportService.getBytedanceProductDailyReport(adverId, accessToken, startDate, endDate, 1, null, 1, null);
|
|
|
}
|
|
|
}
|
|
|
@@ -127,7 +128,7 @@ public class BytedanceController {
|
|
|
|
|
|
@Override
|
|
|
public void run() {
|
|
|
- if(!Check.isNull(advertiserAccount.getAccessToken())){
|
|
|
+ if (!Check.isNull(advertiserAccount.getAccessToken())) {
|
|
|
byteDanceFlowDetailsReportService.getBytedanceFlowDetailsDailyReport(advertiserAccount.getAdvertiserId(), advertiserAccount.getAccessToken(), AccountTypeEnum.AD.getValue(), startDate, endDate, 1, null);
|
|
|
}
|
|
|
}
|