|
|
@@ -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;
|
|
|
}
|