|
@@ -124,6 +124,7 @@ public class BytedanceReportNewServiceImpl implements IBytedanceReportNewService
|
|
|
@Override
|
|
|
public void getAdvertiserDailyReport(Long advertiserId, String oauthToken, String startDate, String endDate, int page) {
|
|
|
try {
|
|
|
+ Thread.sleep(500L);
|
|
|
String url = "https://api.oceanengine.com/open_api/v3.0/report/custom/get/";
|
|
|
Map<String, Object> paramsMap = new HashMap<>();
|
|
|
paramsMap.put("advertiser_id", advertiserId);
|
|
@@ -201,7 +202,7 @@ public class BytedanceReportNewServiceImpl implements IBytedanceReportNewService
|
|
|
}
|
|
|
if (dailies.size() >= 100) {
|
|
|
try {
|
|
|
- Thread.sleep(200L);
|
|
|
+ Thread.sleep(500L);
|
|
|
} catch (InterruptedException e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|