From 89c42384177eb99786d1e30e50014072da2fe55e Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 14 Sep 2024 10:16:29 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LocalStoreGoodsLogic.php b/app/api/logic/LocalStoreGoodsLogic.php index 04286e09..dffc34da 100644 --- a/app/api/logic/LocalStoreGoodsLogic.php +++ b/app/api/logic/LocalStoreGoodsLogic.php @@ -245,7 +245,7 @@ class LocalStoreGoodsLogic extends Logic $data['item'] = LocalStoreGoodsItem::where([ 'goods_id' => $get['id'] // ])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select(); - ])->field('image, spec_value_str, price, note')->select(); + ])->field('id, image, spec_value_str, price, note')->select(); foreach ($data['item'] as &$v) { $v['image'] = Config::get('aliyunoss.domain') . $v['image'];