From 982ff79c7f9efa4c6cc6becc2daba24c25599004 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Sat, 11 May 2024 16:13:25 +0800 Subject: [PATCH] update --- app/api/lists/goods/GoodsLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)