From 01857bbd8b72df7f29d7785779c32935bef50d00 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Tue, 19 Mar 2024 11:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=89=B9=E5=8F=91=E4=BB=B7?= 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 2ff383d5..414db3e1 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -2551,6 +2551,7 @@ class ProductRepository extends BaseRepository $valueNew[$count]['cost'] = $skuValue[$suk]['cost'] ?? 0; $valueNew[$count]['image'] = $skuValue[$suk]['image'] ?? ''; $valueNew[$count]['price'] = $skuValue[$suk]['price'] ?? 0; + $valueNew[$count]['wholesale_price'] = $skuValue[$suk]['wholesale_price'] ?? 0; $valueNew[$count]['stock'] = $skuValue[$suk]['stock'] ?? 0; $valueNew[$count]['cdkey'] = $skuValue[$suk]['cdkey'] ?? []; $valueNew[$count]['weight'] = $skuValue[$suk]['weight'] ?? 0;