|
@@ -311,6 +311,21 @@ public class BytedanceController {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("/promoterDaily")
|
|
|
|
|
+ public void promoterDaily(@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.getBytedancePromoterDaily(adverId, accessToken, startDate, endDate, 1, 1);
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@GetMapping("/getWxAppInfo")
|
|
@GetMapping("/getWxAppInfo")
|
|
|
public void getWxAppInfo(Long advertiserId) {
|
|
public void getWxAppInfo(Long advertiserId) {
|