待办事项连接挤上去
This commit is contained in:
parent
f457c0d518
commit
2235ea4714
@ -289,7 +289,7 @@ public class DingtalkBusiness {
|
|||||||
List<StaffSimpleInfo> toStaffids;
|
List<StaffSimpleInfo> toStaffids;
|
||||||
WorkMsgTypeEnum workMsgTypeEnum;
|
WorkMsgTypeEnum workMsgTypeEnum;
|
||||||
String appid;
|
String appid;
|
||||||
String url = "";
|
String hostUrl = "https://lzmanagement.ldxinyong.com/digitization/dingTalkLogin";
|
||||||
public ThreadSendMessage(List<StaffSimpleInfo> toStaffids, WorkMsgTypeEnum typeEnum, String appid){
|
public ThreadSendMessage(List<StaffSimpleInfo> toStaffids, WorkMsgTypeEnum typeEnum, String appid){
|
||||||
this.toStaffids = toStaffids;
|
this.toStaffids = toStaffids;
|
||||||
workMsgTypeEnum = typeEnum;
|
workMsgTypeEnum = typeEnum;
|
||||||
@ -305,14 +305,15 @@ public class DingtalkBusiness {
|
|||||||
) {
|
) {
|
||||||
if(token != null && token.length() > 0){
|
if(token != null && token.length() > 0){
|
||||||
//下面防止第二次发送消息时钉钉不推送
|
//下面防止第二次发送消息时钉钉不推送
|
||||||
|
String url = hostUrl;
|
||||||
if(url.contains("?")){
|
if(url.contains("?")){
|
||||||
url += "&halokit=" + System.currentTimeMillis();
|
url += "&halokit=" + System.currentTimeMillis();
|
||||||
}else{
|
}else{
|
||||||
url += "?halokit=" + System.currentTimeMillis();
|
url += "?halokit=" + System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
url += ("&detail=1&id=" + info.getRecordId());
|
||||||
url = URLEncoder.encode(url);
|
url = URLEncoder.encode(url);
|
||||||
/* url = "dingtalk://dingtalkclient/action/openapp?corpid=" + thirdAppConfig.getCorpId() +
|
|
||||||
"&container_type=work_platform&app_id=0_" + appid + "&redirect_type=jump&redirect_url=" + url;*/
|
|
||||||
|
|
||||||
url = "dingtalk://dingtalkclient/page/link?pc_slide=true&url=" + url;
|
url = "dingtalk://dingtalkclient/page/link?pc_slide=true&url=" + url;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user