From 7675060d6036c4cc25b5b2bd88be5bc198431d4d Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Wed, 20 Mar 2024 11:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/store/product/ProductRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index 13f57f87..ea66f885 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -825,7 +825,7 @@ class ProductRepository extends BaseRepository * @author Qinii * @day 2020-11-24 */ - public function getAdminOneProduct(int $id, ?int $activeId, $conType = 0) + public function getAdminOneProduct(int $id, ?int $activeId, $conType = 1) { $with = ['attr', 'attrValue.productCdkey', 'oldAttrValue', 'merCateId.category', 'storeCategory', 'brand', 'temp', 'seckillActive', 'content' => function ($query) use ($conType) {