From 36825b23d09539b08481987a38e9b9f9c5fed41d Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 14 Sep 2024 15:35:56 +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=EF=BC=8C=E5=90=AB?= =?UTF-8?q?=E6=9C=89=E8=A7=84=E6=A0=BCid=E5=88=99=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E8=A7=84=E6=A0=BC=E7=9A=84=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreGoodsLogic.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/api/logic/LocalStoreGoodsLogic.php b/app/api/logic/LocalStoreGoodsLogic.php index 869a3ea9..9f0716a8 100644 --- a/app/api/logic/LocalStoreGoodsLogic.php +++ b/app/api/logic/LocalStoreGoodsLogic.php @@ -244,8 +244,7 @@ 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_str, price, note')->select(); + ])->field('id, image, spec_value_str, price, stock, note')->select(); foreach ($data['item'] as &$v) { $v['image'] = Config::get('aliyunoss.domain') . $v['image'];