From f5d0006899c4bab554900d0457149b912b8fa58a Mon Sep 17 00:00:00 2001 From: wanc Date: Sat, 2 Aug 2025 12:47:49 +0800 Subject: [PATCH] =?UTF-8?q?*=202025-7-24=20=20=20=20=20=20*=20wanc=20=20?= =?UTF-8?q?=20=20=20=20*=20=E6=B7=BB=E5=8A=A0=20=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shkd/todotask/todoZyTaskServiceHandler.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/main/java/shkd/todotask/todoZyTaskServiceHandler.java b/main/java/shkd/todotask/todoZyTaskServiceHandler.java index e7c9123..a59a987 100644 --- a/main/java/shkd/todotask/todoZyTaskServiceHandler.java +++ b/main/java/shkd/todotask/todoZyTaskServiceHandler.java @@ -119,6 +119,8 @@ public class todoZyTaskServiceHandler extends AbstractMessageServiceHandler { if (StringUtils.isNotEmpty(url)) { url= url.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"; try { @@ -374,10 +376,14 @@ 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&",""); -// } + if (StringUtils.isNotEmpty(url)) { + url= url.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"; try { url = URLEncoder.encode(url, "UTF-8");