@ -135,7 +135,8 @@ class Goods extends GoodsService
], $setting['params']['auto']['showNum']);
$goodsList = $goodsList ? $goodsList->toArray()['data'] : [];
}
if (empty($goodsList) && $goodsList->isEmpty()) {
//if (empty($goodsList) && $goodsList->isEmpty()) {
if (empty($goodsList)) {
return [];
return $this->formatGoodsList($goodsList);