|
|
@@ -46,7 +46,12 @@ public class BytedanceController {
|
|
|
|
|
|
@GetMapping("/accountReport")
|
|
|
public void getChannel(String param) {
|
|
|
- List<JSONObject> allList = promoterReportService.getAllList();
|
|
|
+
|
|
|
+ List<JSONObject> infos = adminAdvertiserListService.getAdvertiserInfos();
|
|
|
+ System.err.println(infos);
|
|
|
+ adminAdvertiserListService.batchUpdateAdvertiserName(infos);
|
|
|
+
|
|
|
+ /* List<JSONObject> allList = promoterReportService.getAllList();
|
|
|
for (int i = 0; i < allList.size(); i++) {
|
|
|
JSONObject jsonObject = allList.get(i);
|
|
|
Long advertiserId = jsonObject.getLong("advertiserId");
|
|
|
@@ -56,13 +61,15 @@ public class BytedanceController {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
if (!Check.isNull(accessToken)) {
|
|
|
- accountReportService.getBytedanceAccountDaily(advertiserId, accessToken, "2025-02-15", "2025-03-25", 1, 1);
|
|
|
- // accountReportService.getBytedanceAccountHour(advertiserId, accessToken, "2025-02-15", "2025-03-25", 1, 1);
|
|
|
+ accountReportService.getBytedanceAccountDaily(advertiserId, accessToken, "2025-01-01", "2025-03-25", 1, 1);
|
|
|
+ // accountReportService.getBytedanceAccountHour(advertiserId, accessToken, "2025-01-01", "2025-03-25", 1, 1);
|
|
|
+ // promoterReportService.getBytedancePromoterHour(advertiserId, accessToken, "2025-01-01", "2025-03-25", 1, 1);
|
|
|
+ promoterReportService.getBytedancePromoterDaily(advertiserId, accessToken, "2025-01-01", "2025-03-25", 1, 1);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
|
|
|
}
|