|
|
@ -60,8 +60,8 @@ public class DingUtil { |
|
|
|
|
|
|
|
|
@Value("${ding.corpId}") |
|
|
@Value("${ding.corpId}") |
|
|
private String corpId; |
|
|
private String corpId; |
|
|
@Value("${server.host}") |
|
|
@Value("${ding.noticeUrlPrefix}") |
|
|
private String host; |
|
|
private String noticeUrlPrefix; |
|
|
|
|
|
|
|
|
private static final String TICKET_KEY = "dingtalk:jsapi_ticket"; |
|
|
private static final String TICKET_KEY = "dingtalk:jsapi_ticket"; |
|
|
|
|
|
|
|
|
@ -279,9 +279,9 @@ public class DingUtil { |
|
|
.append(String.format("处理理由:%s" , appealDTO.getReason())); |
|
|
.append(String.format("处理理由:%s" , appealDTO.getReason())); |
|
|
|
|
|
|
|
|
StringBuilder url = new StringBuilder(); |
|
|
StringBuilder url = new StringBuilder(); |
|
|
url.append(String.format("http://%s/examResult/?" + |
|
|
url.append(String.format("%s/examResult/?" + |
|
|
"dd_nav_translucent=true&dd_full_screen=true&dd_nav_bgcolor=33E0EEFF" + |
|
|
"dd_nav_translucent=true&dd_full_screen=true&dd_nav_bgcolor=33E0EEFF" + |
|
|
"&corpid=%s&id=%d&index=%d",host,corpId,appealDTO.getId(),appealDTO.getQuestionSort())); |
|
|
"&corpid=%s&id=%d&index=%d",noticeUrlPrefix,corpId,appealDTO.getId(),appealDTO.getQuestionSort())); |
|
|
|
|
|
|
|
|
//发送工作通知
|
|
|
//发送工作通知
|
|
|
DtCorpConversationMessage corpConversationMessage = DtCorpConversationMessage.builder() |
|
|
DtCorpConversationMessage corpConversationMessage = DtCorpConversationMessage.builder() |
|
|
|