Commit 9763e554 authored by 顾文旭's avatar 顾文旭

fix 七牛图片获取

parent 53d17487
...@@ -1763,7 +1763,7 @@ class GoodsService ...@@ -1763,7 +1763,7 @@ class GoodsService
$data = $ksyunParams = []; $data = $ksyunParams = [];
$strList = explode(",", $picUrlStr); $strList = explode(",", $picUrlStr);
foreach ($strList as $key => $str) { foreach ($strList as $key => $str) {
if (empty($str) || substr($str, 0, 2) != "SHQ") { if (!empty($str) || substr($str, 0, 2) != "SHQ") {
$data[] = "https://pingouimg.jwshq.cn/" . $str; $data[] = "https://pingouimg.jwshq.cn/" . $str;
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment