|
@@ -57,14 +57,14 @@ public class BytedanceCampaignLoadJob {
|
|
|
log.error("此账户未获取到相关token,accountId:{}", param);
|
|
|
return;
|
|
|
}
|
|
|
- String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
|
- String yesterda = DateUtils.getAnotherDay("yyyy-MM-dd", nowDate, -1);
|
|
|
+ //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);
|
|
|
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, null,null,1, 1000);
|
|
|
+ //campaignDataService.getCampaignData(oauthToken, yesterda,yesterda,1, 1000);
|
|
|
}
|
|
|
|
|
|
/**
|