1.修改移动端推送URL 去掉type=toHandle&

This commit is contained in:
wanc 2025-07-09 17:44:43 +08:00
parent a6a763ed42
commit bbc9b1397b
1 changed files with 8 additions and 0 deletions

View File

@ -116,6 +116,10 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler {
//获取Url
String url = toDoInfo.getUrl(); // 链接
String url1 = toDoInfo.getUrl();// pc链接
if (StringUtils.isNotEmpty(url)) {
url= url.replace("type=toHandle&","");
url1= url1.replace("type=toHandle&","");
}
String h5url = url + "&device=mob&ado=view";
try {
url = URLEncoder.encode(url, "UTF-8");
@ -370,6 +374,10 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler {
//获取Url
String url = message.getContentUrl(); // 链接
String url1 = message.getContentUrl(); // pc链接
if (StringUtils.isNotEmpty(url)) {
url= url.replace("type=toHandle&","");
url1= url1.replace("type=toHandle&","");
}
String h5url = url + "&device=mob&ado=view";
try {
url = URLEncoder.encode(url, "UTF-8");