|
@@ -106,9 +106,7 @@ public class SampleTest {
|
|
|
|
|
|
@Test
|
|
@Test
|
|
public void loadKuaishouAgentData() {
|
|
public void loadKuaishouAgentData() {
|
|
- for (int i = 0; i < 30; i++) {
|
|
|
|
- String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(), -i));
|
|
|
|
- kuaishouReportDailyAgentService.getReport(currentDate, DateUtils.getNowDate("yyyy-MM-dd"));
|
|
|
|
- }
|
|
|
|
|
|
+ String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(),-1));
|
|
|
|
+ kuaishouReportDailyAgentService.getReport(currentDate,DateUtils.getNowDate("yyyy-MM-dd"));
|
|
}
|
|
}
|
|
}
|
|
}
|