|
@@ -25,7 +25,7 @@ public class KuaishouMatDailyReportJob {
|
|
|
public void execute() throws Exception {
|
|
|
//增加接口的开始和结束日期
|
|
|
String endDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
|
- String startDate = DateUtils.getAnotherDay("yyyy-MM-dd", endDate, -1);
|
|
|
+ String startDate = DateUtils.getAnotherDay("yyyy-MM-dd", endDate, -2);
|
|
|
//1:查询当日数据
|
|
|
List<CtopOauthToken> tokens = tokenService.selectKuaiShouToken();
|
|
|
tokens.forEach(token -> executorService.submit(() -> {
|