|
@@ -392,11 +392,17 @@ public class SampleTest {
|
|
private IKuaishouVideoEtlInfoService etlInfoService;
|
|
private IKuaishouVideoEtlInfoService etlInfoService;
|
|
@Test
|
|
@Test
|
|
public void etlKuaishouData(){
|
|
public void etlKuaishouData(){
|
|
- String dateString = "2020-03-17";
|
|
|
|
|
|
+ String dateString = "2020-03-30";
|
|
Date startDate = DateUtils.parseDate(dateString,"yyyy-MM-dd");
|
|
Date startDate = DateUtils.parseDate(dateString,"yyyy-MM-dd");
|
|
- for(int i=0;i<=290;i++){
|
|
|
|
|
|
+ for(int i=0;i<=277;i++){
|
|
Date getDate = DateUtils.addDay(startDate,i);
|
|
Date getDate = DateUtils.addDay(startDate,i);
|
|
etlInfoService.etlKuaishouVideoInfo(getDate);
|
|
etlInfoService.etlKuaishouVideoInfo(getDate);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Test
|
|
|
|
+ public void loadBytedanceVideo(){
|
|
|
|
+ CtopOauthToken token = tokenService.getTokenByAccountId(1685024266033160L);
|
|
|
|
+ advertiserDataService.getMaterialList(token);
|
|
|
|
+ }
|
|
}
|
|
}
|