sms & message

This commit is contained in:
guohb
2024-05-10 15:34:59 +08:00
parent 50f8ab60c6
commit b54baa391d
6 changed files with 46 additions and 15 deletions

View File

@@ -78,16 +78,15 @@ public enum MessageEnum {
switch (this) {
case MESSAGE_1:
case MESSAGE_2:
case MESSAGE_3:
case MESSAGE_4:
case MESSAGE_5:
case MESSAGE_6:
case MESSAGE_7:
case MESSAGE_8:
case MESSAGE_9:
case MESSAGE_15:
return domainUrl + "/dd-noticemsg?appId=" + appId + "&corpId="+ corpId + "&appUrl=" +
URLEncoder.encode("pages/common-web-view/index?noticeType=xfsg&routerUrl=notice&target=clue&timestamp="+System.currentTimeMillis()+"&lineId=" + paramMap.get("lineId"), StandardCharsets.UTF_8.name());
case MESSAGE_3:
case MESSAGE_10:
return domainUrl + "/dd-noticemsg?appId=" + appId + "&corpId="+ corpId + "&appUrl=" +
URLEncoder.encode("pages/common-web-view/index?noticeType=xfsg&routerUrl=notice&target=interview&timestamp="+System.currentTimeMillis()+"&lineId=" + paramMap.get("lineId"), StandardCharsets.UTF_8.name());
@@ -101,6 +100,12 @@ public enum MessageEnum {
case MESSAGE_14:
return "dingtalk://dingtalkclient/action/open_micro_app?appId="+appId+"&corpId="+corpId+"&page=" +
URLEncoder.encode("pages/common-web-view/index?noticeType=xfsg&routerUrl=notice&target=pointPush&timestamp="+System.currentTimeMillis()+"&lineId="+ paramMap.get("lineId"), StandardCharsets.UTF_8.name());
case MESSAGE_15:
case MESSAGE_16:
case MESSAGE_17:
case MESSAGE_18:
case MESSAGE_19:
case MESSAGE_20:
case MESSAGE_21:
case MESSAGE_22:
return "dingtalk://dingtalkclient/action/open_micro_app?appId="+appId+"&corpId="+corpId+"&page=" +