作者 刘锟

update

... ... @@ -357,9 +357,9 @@ class ProductLogic extends BaseLogic
$param['gallery'][$k] = $v;
}
$thumb = $param['gallery'][0] ?? [];
if(!empty($thumb)){
$thumb['url'] = thumbImageByUrl($thumb);
}
// if(!empty($thumb)){
// $thumb['url'] = thumbImageByUrl($thumb);
// }
$param['thumb'] = Arr::a2s($thumb);
$param['gallery'] = Arr::a2s($param['gallery'] ?? []);
}else{
... ...