|
@@ -59,12 +59,12 @@ public class BytedanceCampaignLoadJob {
|
|
|
}
|
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
|
String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
|
|
|
- String yesterda2 = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -2);
|
|
|
+// String yesterda2 = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -2);
|
|
|
OauthToken oauthToken = new OauthToken();
|
|
|
oauthToken.setAccessToken(token);
|
|
|
oauthToken.setAccountId(Long.parseLong(param));
|
|
|
+ campaignDataService.getCampaignData(oauthToken, nowDate,nowDate,1, 1000);
|
|
|
campaignDataService.getCampaignData(oauthToken, yesterda,yesterda,1, 1000);
|
|
|
- campaignDataService.getCampaignData(oauthToken, yesterda2,yesterda2,1, 1000);
|
|
|
}
|
|
|
|
|
|
/**
|