Commit 3c99620b authored by 李健华's avatar 李健华

循环执行判断是否有返回客户

parent 3013a20e
......@@ -237,7 +237,8 @@ public class WechatFollowServiceImpl implements IWechatFollowService {
// 根据unionid 添加现有指定信息
// 判断nextCursor不为空,继续获取更多客户
if (!"".equals(customerListResponse.getNextCursor())) {
log.info("customerListResponse--{}", JSONObject.toJSONString(customerListResponse));
if (!"".equals(customerListResponse.getNextCursor()) && !customerListResponse.getExternal_contact_list().isEmpty()) {
batchQueryCustomerDetailInfo(accessToken, userIdList, customerListResponse.getNextCursor(), period);
}
} else {
......
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