|
|
@@ -196,6 +196,17 @@ public class BytedanceController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/costPromotion")
|
|
|
+ public void costPromotion(@RequestParam(required = false) Long advertiserId, String startDate, String endDate) {
|
|
|
+ List<JSONObject> costAccount = productReportService.getCostAccount(advertiserId, startDate, endDate);
|
|
|
+ for (JSONObject jsonObject : costAccount) {
|
|
|
+ dailyRetrExecutorService.submit(() -> {
|
|
|
+ Long adverId = jsonObject.getLong("advertiserId");
|
|
|
+ cdpProjectService.getpromotionList(adverId,null,null);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 回调补全字节项目数据
|
|
|
*/
|