Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
759b05a3
Commit
759b05a3
authored
Jul 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自动考核
parent
d4c360d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
...dingding/personal/service/impl/DingPersonServiceImpl.java
+12
-3
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
View file @
759b05a3
...
@@ -70,11 +70,20 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
...
@@ -70,11 +70,20 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
OapiMessageCorpconversationAsyncsendV2Request
req
=
new
OapiMessageCorpconversationAsyncsendV2Request
();
OapiMessageCorpconversationAsyncsendV2Request
req
=
new
OapiMessageCorpconversationAsyncsendV2Request
();
req
.
setAgentId
(
agentId
);
req
.
setAgentId
(
agentId
);
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
req
.
setUseridList
(
workMsgReq
.
getUseridList
());
req
.
setMsg
(
JSON
.
toJSONString
(
workMsgReq
.
getMsg
()));
//
.setMsg(JSON.toJSONString(workMsgReq.getMsg()));
workMsgReq
.
getMsg
().
getLink
().
setPicUrl
(
"@lADOADmaWMzazQKA"
);
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
msg
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Msg
();
OapiMessageCorpconversationAsyncsendV2Request
.
Link
link
=
new
OapiMessageCorpconversationAsyncsendV2Request
.
Link
();
link
.
setMessageUrl
(
workMsgReq
.
getMsg
().
getLink
().
getMessageUrl
());
link
.
setText
(
workMsgReq
.
getMsg
().
getLink
().
getText
());
link
.
setTitle
(
workMsgReq
.
getMsg
().
getLink
().
getTitle
());
link
.
setPicUrl
(
"@lADOADmaWMzazQKA"
);
msg
.
setLink
(
link
);
req
.
setMsg
(
msg
);
log
.
info
(
"sendWorkMsg:{}"
,
JSON
.
toJSONString
(
workMsgReq
));
// workMsgReq.getMsg().getLink().setPicUrl("@lADOADmaWMzazQKA");
log
.
info
(
"sendWorkMsg:{}"
,
JSON
.
toJSONString
(
req
));
OapiMessageCorpconversationAsyncsendV2Response
rsp
=
client
.
execute
(
req
,
getToken
());
OapiMessageCorpconversationAsyncsendV2Response
rsp
=
client
.
execute
(
req
,
getToken
());
log
.
info
(
"OapiMessageResponse:{}"
,
rsp
.
getBody
());
log
.
info
(
"OapiMessageResponse:{}"
,
rsp
.
getBody
());
if
(
rsp
.
getErrcode
()
==
0
)
{
if
(
rsp
.
getErrcode
()
==
0
)
{
...
...
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