1.修改移动端推送URL 去掉type=toHandle&
This commit is contained in:
parent
a6a763ed42
commit
bbc9b1397b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue