diff --git a/app/api/lists/goods/GoodsLists.php b/app/api/lists/goods/GoodsLists.php index dc62873..39f2e97 100644 --- a/app/api/lists/goods/GoodsLists.php +++ b/app/api/lists/goods/GoodsLists.php @@ -91,7 +91,7 @@ class GoodsLists extends BaseAdminDataLists implements ListsSearchInterface $order['id'] = 'desc'; } return Goods::where($this->searchWhere)->where($where) - ->field(['id', 'name','brand','class','unit', 'sell', 'code','imgs','sales']) + ->field(['id', 'name','brand','class','unit', 'sell', 'code','imgs','sales','spec']) ->limit($this->limitOffset, $this->limitLength) ->with(['className','brandName','unitName']) ->order($order)