Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.HumanResources.DingTalk
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.HumanResources.DingTalk
Commits
d651db9a
Commit
d651db9a
authored
Apr 28, 2021
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复查询userId数据超过200条的bug
parent
1612499f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
DingTalkExtension.cs
Src/Extensions/DingTalkExtension.cs
+5
-0
No files found.
Src/Extensions/DingTalkExtension.cs
View file @
d651db9a
...
@@ -177,6 +177,11 @@ namespace Kivii.HumanResources.DingTalk
...
@@ -177,6 +177,11 @@ namespace Kivii.HumanResources.DingTalk
var
rtns
=
client
.
Execute
(
req
,
accessToken
);
var
rtns
=
client
.
Execute
(
req
,
accessToken
);
if
(
rtns
.
Errcode
!=
0
)
throw
new
Exception
(
rtns
.
Errmsg
);
if
(
rtns
.
Errcode
!=
0
)
throw
new
Exception
(
rtns
.
Errmsg
);
if
(
rtns
.
Result
==
null
)
return
new
OapiAttendanceGroupMemberusersListResponse
.
PageResultDomain
();
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
;
return
rtns
.
Result
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment