mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
提交耗时统计
This commit is contained in:
@@ -51,7 +51,7 @@ public class ThirdApi {
|
||||
|
||||
|
||||
private void nextPage(UserListParam userListParam, String token, List<UserInfoList> userInfoLists, UserInfoListRootBean.ResultData t) {
|
||||
System.out.println("获取用户--" + userListParam.getPage());
|
||||
log.info("获取用户--" + userListParam.getPage());
|
||||
if (t.getTotalPage() > userListParam.getPage()) {
|
||||
REQUEST_TASK.submit(() -> IntStream.range(userListParam.getPage(), t.getTotalPage()).parallel().forEach(i -> getAllUserList(userListParam.withPage(i + 1), token, userInfoLists))).join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user