|
|
@@ -350,6 +350,18 @@ public class BytedanceController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/promoterHour")
|
|
|
+ public void promoterHour(@RequestParam(required = false) Long advertiserId, String startDate, String endDate) {
|
|
|
+ List<JSONObject> costAccount = productReportService.getCostAccount(advertiserId, startDate, endDate);
|
|
|
+ for (JSONObject jsonObject : costAccount) {
|
|
|
+ executor10Service1.submit(() -> {
|
|
|
+ Long adverId = jsonObject.getLong("advertiserId");
|
|
|
+ String accessToken = jsonObject.getString("accessToken");
|
|
|
+ promoterReportService.getBytedancePromoterHour(adverId, accessToken, startDate, endDate, 1, 1);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|