lvhao 1 giorno fa
parent
commit
5c394bcb36
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      core/CoreApp/models/Model_logic_tools.php

+ 3 - 3
core/CoreApp/models/Model_logic_tools.php

@@ -115,13 +115,13 @@ class Model_logic_tools extends Lin_Model {
             return $str;
         }elseif(strpos($url,'http://erp.hnwmzp.cn')!== false){
             $str = str_replace('http://erp.hnwmzp.cn',$host,$url);
-            return $url;
+            return $str;
         }elseif(strpos($url,'http://a.wepolicy.cn')!== false){
             $str = str_replace('http://a.wepolicy.cn',$host,$url);
-            return $url;
+            return $str;
         }elseif(strpos($url,'https://erp.hnwmzp.cn')!== false){
             $str = str_replace('http://a.wepolicy.cn',$host,$url);
-            return $url;
+            return $str;
         }else{
             return $url;
         }