wang hou sheng 7 months ago
parent 2cbc6de877
commit 74f2e3843c
  1. 2
      app/api/model/Goods.php

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

Loading…
Cancel
Save