From 91b2ca945d4d2d3d6da86c110d16b78ae3c5f229 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sun, 23 Apr 2023 19:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/store/product/ProductRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index ac45ff70..102d2bf8 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -1779,6 +1779,7 @@ class ProductRepository extends BaseRepository $cart = null; $where = $this->dao->productShow(); $where['product_id'] = $data['product_id']; + $where['product_type'] = $data['product_type']; unset($where['is_gift_bag']); $product = $this->dao->search(null, $where)->find();