@ -254,7 +254,7 @@ class Goods extends GoodsModel
->where(['category_id' => $param['category_id']])
->whereIn('goods_id', $goods_ids)
->column('distinct goods_id');
if ($cate_goods_id) {
if (!$cate_goods_id) {
return $list;
}