From 16dded9b9b615229644a9d44e32ccc121cf32865 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Tue, 29 Oct 2024 15:55:26 +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=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreGoodsCartLogic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/api/logic/LocalStoreGoodsCartLogic.php b/app/api/logic/LocalStoreGoodsCartLogic.php index 38441d72..5d8f18b2 100644 --- a/app/api/logic/LocalStoreGoodsCartLogic.php +++ b/app/api/logic/LocalStoreGoodsCartLogic.php @@ -69,10 +69,10 @@ class LocalStoreGoodsCartLogic extends Logic ->field('c.id, c.item_id, c.goods_num, g.id as lsg_id, g.title, g.price') ->append(['pic', 'item']) ->select(); - if ($cart) { +// if ($cart) { return $cart->toArray(); - } - return []; +// } +// return []; } public static function cartNum($post, $user_id)