lvhao 1 dia atrás
pai
commit
5c394bcb36
1 arquivos alterados com 3 adições e 3 exclusões
  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;
         }