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) {