Commit e553537f authored by luhongguang's avatar luhongguang

update:商品图片展示

parent 1189b39b
......@@ -1238,7 +1238,6 @@ class GoodsService
foreach ($strList as $key => $str) {
$arr = explode("/", $str);
if (count($arr) != 2) {
$data[$key] = "";
continue;
}
......@@ -1246,7 +1245,7 @@ class GoodsService
$objectId = $arr[1];
$url = Ksyun::getPicUrl("merchant-b", 'goods_temp', $bucket . '/' . $objectId, 200, 200, 'jpeg');
$data[$key] = $url;
$data[] = $url;
}
return $data;
......
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