Commit beb95f27 authored by 顾文旭's avatar 顾文旭

fix

parent 5949f016
......@@ -1763,10 +1763,10 @@ class GoodsService
$data = $ksyunParams = [];
$strList = explode(",", $picUrlStr);
foreach ($strList as $key => $str) {
if (!empty($str) && substr($str, 0, 2) != "SHQ") {
$data[] = "https://pingouimg.jwshq.cn/" . $str. "?url=" . $str;
continue;
}
// if (!empty($str) && substr($str, 0, 2) != "SHQ") {
// $data[] = "https://pingouimg.jwshq.cn/" . $str. "?url=" . $str;
// continue;
// }
$arr = explode("/", $str);
if (preg_match("/^http[s]{0,1}:\/\/([\w.]+\/?)\S*/", $str)) {
$data[] = $str;
......
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