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

修改考勤汇总

parent 8c473651
......@@ -21,7 +21,7 @@ import org.springframework.stereotype.Service;
@Slf4j
public class MessageServiceImpl implements MessageService {
@Value("${webUrl:''}")
@Value("${webUrl:}")
private String webUrl;
@Autowired
private IDingPersonService dingPersonService;
......@@ -34,6 +34,7 @@ public class MessageServiceImpl implements MessageService {
Link link = new Link();
//link.setMessageUrl(webUrl + dingMsg.getPath());
link.setMessageUrl(webUrl + dingMsg.getPath());
log.info("linkUrl:"+link.getMessageUrl());
if (SubAddTypeEnum.增加.getValue() == dingMsg.getSubAddType()) {
link.setText(String.format("你好,经人工核实后你在%%-%s" +
......
......@@ -70,7 +70,6 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
public Rest<String> sendWorkMsg(WorkMsgReq workMsgReq) {
try {
DingTalkClient client = getDingTalkClient("/topapi/message/corpconversation/asyncsend_v2");
OapiMessageCorpconversationAsyncsendV2Request req = new OapiMessageCorpconversationAsyncsendV2Request();
req.setAgentId(agentId);
req.setUseridList(workMsgReq.getUseridList());
......
......@@ -66,13 +66,12 @@ hik:
# AppKey: dingpqzradgfr4efdi2j
# AppSecret: bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd
# domain: https://oapi.dingtalk.com
webUrl: @profiles.webUrl@
dingtalk:
domain: @profiles.dingtalk.domain@
agentId: @profiles.dingtalk.agentId@
AppKey: @profiles.dingtalk.appKey@
AppSecret: @profiles.dingtalk.appSecret@
webUrl: @profiles.webUrl@
AesKey: @profiles.dingtalk.aesKey@
token: @profiles.dingtalk.token@
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