Commit 42ab6c6d authored by 李健华's avatar 李健华

循环方法增加返回

parent 3c99620b
...@@ -212,7 +212,7 @@ public class WechatFollowServiceImpl implements IWechatFollowService { ...@@ -212,7 +212,7 @@ public class WechatFollowServiceImpl implements IWechatFollowService {
return null; return null;
} }
private void batchQueryCustomerDetailInfo(String accessToken, List<String> userIdList, String cursor, String period) { private JsonResult batchQueryCustomerDetailInfo(String accessToken, List<String> userIdList, String cursor, String period) {
// 查询客户详情 // 查询客户详情
HashMap<String, Object> parameters = new HashMap<>(); HashMap<String, Object> parameters = new HashMap<>();
parameters.put("userid_list", userIdList); parameters.put("userid_list", userIdList);
...@@ -241,9 +241,11 @@ public class WechatFollowServiceImpl implements IWechatFollowService { ...@@ -241,9 +241,11 @@ public class WechatFollowServiceImpl implements IWechatFollowService {
if (!"".equals(customerListResponse.getNextCursor()) && !customerListResponse.getExternal_contact_list().isEmpty()) { if (!"".equals(customerListResponse.getNextCursor()) && !customerListResponse.getExternal_contact_list().isEmpty()) {
batchQueryCustomerDetailInfo(accessToken, userIdList, customerListResponse.getNextCursor(), period); batchQueryCustomerDetailInfo(accessToken, userIdList, customerListResponse.getNextCursor(), period);
} }
return JsonResult.buildSuccessResult();
} else { } else {
batchQueryCustomerDetailInfo(accessToken, userIdList, customerListResponse.getNextCursor(), period); batchQueryCustomerDetailInfo(accessToken, userIdList, customerListResponse.getNextCursor(), period);
} }
return JsonResult.buildSuccessResult();
} }
private void initTask() { private void initTask() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment