Commit d651db9a by 陶然

修复查询userId数据超过200条的bug

parent 1612499f
......@@ -177,6 +177,11 @@ namespace Kivii.HumanResources.DingTalk
var rtns = client.Execute(req, accessToken);
if (rtns.Errcode != 0) throw new Exception(rtns.Errmsg);
if (rtns.Result == null) return new OapiAttendanceGroupMemberusersListResponse.PageResultDomain();
if (rtns.Result.HasMore)
{
var more = GetDingTalkGroupMemberUsers(accessToken, opUserId, groupId, (int)rtns.Result.Cursor);
rtns.Result.Result.AddRange(more.Result);
}
return rtns.Result;
}
......
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