* 2025-7-24

* wanc
     * 添加 过滤条件
This commit is contained in:
wanc 2025-08-02 12:47:49 +08:00
parent 6fcb154e8c
commit f5d0006899
1 changed files with 10 additions and 4 deletions

View File

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