Commit d9940b74 authored by 赵啸非's avatar 赵啸非

修改自动考核

parent 2a3e750c
...@@ -33,7 +33,7 @@ public class MessageServiceImpl implements MessageService { ...@@ -33,7 +33,7 @@ public class MessageServiceImpl implements MessageService {
msg.setMsgtype("link"); msg.setMsgtype("link");
Link link = new Link(); Link link = new Link();
link.setPicUrl(""); link.setPicUrl("");
link.setMessageUrl("webUrl" + dingMsg.getPath()); link.setMessageUrl(webUrl + dingMsg.getPath());
if (SubAddTypeEnum.增加.getValue() == dingMsg.getSubAddType()) { if (SubAddTypeEnum.增加.getValue() == dingMsg.getSubAddType()) {
link.setText(String.format("你好,经人工核实后你在%%-%s" + link.setText(String.format("你好,经人工核实后你在%%-%s" +
......
...@@ -73,7 +73,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID ...@@ -73,7 +73,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
req.setMsg(JSON.toJSONString(workMsgReq.getMsg())); req.setMsg(JSON.toJSONString(workMsgReq.getMsg()));
workMsgReq.getMsg().getLink().setPicUrl("@lALOACZwe2Rk"); workMsgReq.getMsg().getLink().setPicUrl("@lALOACZwe2Rk");
log.info("sendWorkMsg:{}", JSON.toJSONString(workMsgReq)); log.info("sendWorkMsg:{}", JSON.toJSONString(workMsgReq));
OapiMessageCorpconversationAsyncsendV2Response rsp = client.execute(req, getToken()); OapiMessageCorpconversationAsyncsendV2Response rsp = client.execute(req, getToken());
log.info("OapiMessageResponse:{}", rsp.getBody()); log.info("OapiMessageResponse:{}", rsp.getBody());
......
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