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