Przeglądaj źródła

<feat>:修改
1、待办发送,处理待办url中的ierp被替换的问题。

wanghaiwu 1 tydzień temu
rodzic
commit
b42a9d63eb

+ 2 - 2
code/jyyy/nckd-jimin-jyyy-bd/src/main/java/nckd/jimin/jyyy/bd/plugin/msg/ecology/FanweiCommonUtil.java

@@ -666,7 +666,7 @@ public final class FanweiCommonUtil {
         String pcUrl = info.getContentUrl() == null ? "" : info.getContentUrl();
         String mobUrl = info.getMobContentUrl() == null ? pcUrl : info.getMobContentUrl();
 
-        String contextUrl = System.getProperty("domain.contextUrl");
+        String contextUrl = System.getProperty("domain.contextUrl").replace("/ierp", "");
         pcUrl = pcUrl.replace("http://127.0.0.1:8080", "").replace(contextUrl, "");
         mobUrl = mobUrl.replace("http://127.0.0.1:8080", "").replace(contextUrl, "");
 
@@ -846,7 +846,7 @@ public final class FanweiCommonUtil {
         String mobUrl = "";
 
         if(StringUtils.isNotEmpty(url)){
-            String contextUrl = System.getProperty("domain.contextUrl");
+            String contextUrl = System.getProperty("domain.contextUrl").replace("/ierp", "");
             url = url.replace("http://127.0.0.1:8080", "").replace(contextUrl, "");
             pcUrl = url;
             mobUrl = url;