Przeglądaj źródła

[会员管理][修改]:粉丝批量同步

release
Stormeye Wu 7 lat temu
rodzic
commit
3582d047dc
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      mlWechatOpen/src/main/java/com/iformall/mp/controller/WxMemController.java

+ 4
- 0
mlWechatOpen/src/main/java/com/iformall/mp/controller/WxMemController.java Wyświetl plik

@@ -67,6 +67,7 @@ public class WxMemController {

private void getBatchUserInfos(WxMpService wxService, WxMpUserList mpUserList, WxAuthorizerInfo authorizerInfo) {
List<String> openIds = mpUserList.getOpenids();

if(openIds.size() > 100) {
int index = 0;
int index_end = index + 100;
@@ -87,6 +88,9 @@ public class WxMemController {
}

private void getBatchUserInfo(WxMpService wxService, List<String> openIds, WxAuthorizerInfo authorizerInfo) {
if(openIds.size() <= 0) {
return;
}
List<WxMpUser> userList = null;
try{
userList = wxService.getUserService().userInfoList(openIds);


Ładowanie…
Anuluj
Zapisz