|
|
@@ -69,8 +69,14 @@ public class WxMemController { |
|
|
List<String> openIds = mpUserList.getOpenids(); |
|
|
List<String> openIds = mpUserList.getOpenids(); |
|
|
if(openIds.size() > 100) { |
|
|
if(openIds.size() > 100) { |
|
|
int index = 0; |
|
|
int index = 0; |
|
|
|
|
|
int index_end = 0; |
|
|
while(true) { |
|
|
while(true) { |
|
|
getBatchUserInfo(wxService, openIds.subList(index, index + 99), authorizerInfo); |
|
|
|
|
|
|
|
|
index_end = index + 100; |
|
|
|
|
|
if(openIds.size()-1 > index_end) { |
|
|
|
|
|
getBatchUserInfo(wxService, openIds.subList(index, index_end), authorizerInfo); |
|
|
|
|
|
} else { |
|
|
|
|
|
getBatchUserInfo(wxService, openIds.subList(index, openIds.size()-1), authorizerInfo); |
|
|
|
|
|
} |
|
|
index += 100; |
|
|
index += 100; |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
|