lqmac 9 months ago
parent 0b8fe2d466
commit a7cbe0d28b
  1. 2
      app/api/model/Goods.php

@ -247,7 +247,7 @@ class Goods extends GoodsModel
->where([
'a.store_id' => request()->header()['storeid'],
'a.status' => 10,
'b.category_id' => $_GET['category_id']
//'b.category_id' => $_GET['category_id']
])->whereIn('a.goods_id', $goods)->field('a.goods_id,a.goods_name,a.goods_price_min,b.category_id,a.sales_initial,a.sales_actual')->select()->toArray();
//暂时 要优化
foreach ($list as &$v) {

Loading…
Cancel
Save