From 63586aedb0ce533cd6a626db8c8c9ab21165d941 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Wed, 26 Jul 2023 13:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/store/order/StoreCart.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/model/store/order/StoreCart.php b/app/common/model/store/order/StoreCart.php index 6da947e2..58d9263b 100644 --- a/app/common/model/store/order/StoreCart.php +++ b/app/common/model/store/order/StoreCart.php @@ -155,6 +155,9 @@ class StoreCart extends BaseModel 'activity_id' => $this->source_id, 'product_type' => $this->product_type, ]; + if ($this->product_type == 98) { + $where['product_id'] = $this->product_id; + } } else { $where = [ 'product_id' => $this->product_id,