|
@@ -151,21 +151,17 @@ public class BatchController {
|
|
};
|
|
};
|
|
thread1.start();
|
|
thread1.start();
|
|
|
|
|
|
- for (int i = 0; i < dateList.size(); i++) {
|
|
|
|
- String date = (String) dateList.get(i);
|
|
|
|
- Thread thread2 = new Thread() {
|
|
|
|
- @Override
|
|
|
|
- public void run() {
|
|
|
|
|
|
+
|
|
|
|
+ Thread thread2 = new Thread() {
|
|
|
|
+ @Override
|
|
|
|
+ public void run() {
|
|
|
|
+ for (int i = 0; i < dateList.size(); i++) {
|
|
|
|
+ String date = (String) dateList.get(i);
|
|
iKuaishouInterfaceService.getVideoList(oauthToken, date);
|
|
iKuaishouInterfaceService.getVideoList(oauthToken, date);
|
|
}
|
|
}
|
|
- };
|
|
|
|
- thread2.start();
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ thread2.start();
|
|
|
|
|
|
|
|
|
|
Thread thread3 = new Thread() {
|
|
Thread thread3 = new Thread() {
|