From a5fc91a10fcc339441f044296df2b344f4131d53 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Fri, 13 Sep 2024 16:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreGoodsLogic.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/logic/LocalStoreGoodsLogic.php b/app/api/logic/LocalStoreGoodsLogic.php index 06cbf586..04286e09 100644 --- a/app/api/logic/LocalStoreGoodsLogic.php +++ b/app/api/logic/LocalStoreGoodsLogic.php @@ -244,7 +244,8 @@ class LocalStoreGoodsLogic extends Logic if ($data['is_multiple_spec'] == 1) { $data['item'] = LocalStoreGoodsItem::where([ 'goods_id' => $get['id'] - ])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select(); +// ])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select(); + ])->field('image, spec_value_str, price, note')->select(); foreach ($data['item'] as &$v) { $v['image'] = Config::get('aliyunoss.domain') . $v['image'];