diff --git a/app/common/service/SkuService.php b/app/common/service/SkuService.php index 1194e6e..ccb1ed8 100644 --- a/app/common/service/SkuService.php +++ b/app/common/service/SkuService.php @@ -107,8 +107,8 @@ class SkuService $data['desc'] ); // 将OSS直连地址替换为代理地址 - $ossDomain = 'https://static.hnzhwlkj.cn'; - $proxyPath = 'proxy/ossurl?file='; + $ossDomain = 'https://static.hnzhwlkj.cn/'; + $proxyPath = '/proxy/ossurl?file='; $data['desc'] = str_replace( $ossDomain, $proxyPath, @@ -177,8 +177,8 @@ class SkuService $data['desc'] ); // 将OSS直连地址替换为代理地址 - $ossDomain = 'https://static.hnzhwlkj.cn'; - $proxyPath = 'proxy/ossurl?file='; + $ossDomain = 'https://static.hnzhwlkj.cn/'; + $proxyPath = '/proxy/ossurl?file='; $data['desc'] = str_replace( $ossDomain, $proxyPath,