From bd3e7ccb7bafa67768beda2384723fc670cc6b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Sat, 7 Jan 2023 10:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E5=A4=8D=E6=B4=BB=E5=8A=A8=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/order/StoreCartServices.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crmeb/app/services/order/StoreCartServices.php b/crmeb/app/services/order/StoreCartServices.php index eadc4f27b..3ed64076f 100644 --- a/crmeb/app/services/order/StoreCartServices.php +++ b/crmeb/app/services/order/StoreCartServices.php @@ -615,6 +615,8 @@ class StoreCartServices extends BaseServices $item['truePrice'] = $truePrice; $item['vip_truePrice'] = $vip_truePrice; $item['price_type'] = $type; + } else { + $item['price_type'] = 'activity'; } } else { $item['costPrice'] = $item['productInfo']['cost'] ?? 0; @@ -626,6 +628,8 @@ class StoreCartServices extends BaseServices $item['truePrice'] = $truePrice; $item['vip_truePrice'] = $vip_truePrice; $item['price_type'] = $type; + } else { + $item['price_type'] = 'activity'; } } if (isset($item['status']) && $item['status'] == 0) {