富文本图片

This commit is contained in:
2025-12-12 16:48:57 +08:00
parent 69cebe244d
commit f256bc4bcb
+4 -4
View File
@@ -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,