From ffb147f980d9394e7b0386f1c181bef563e6d32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=B1=E6=9E=97=E5=AD=A4=E9=B9=B0?= Date: Mon, 7 Feb 2022 04:07:19 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=BF=94=E5=9B=9E=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A0=BC=E5=BC=8F=E4=B8=8D=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BA?= =?UTF-8?q?NaN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/product/product/StoreProductServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/services/product/product/StoreProductServices.php b/crmeb/app/services/product/product/StoreProductServices.php index cdfaaa5a4..e861d9586 100644 --- a/crmeb/app/services/product/product/StoreProductServices.php +++ b/crmeb/app/services/product/product/StoreProductServices.php @@ -1483,7 +1483,7 @@ class StoreProductServices extends BaseServices */ public function setLevelPrice($price, int $uid, $userInfo, $vipStatus, $discount = 0, $vipPrice = 0.00, $is_vip = 0, $is_show = false) { - if (!(float)$price) return $price; + if (!(float)$price) return [(float)$price, (float)$price, 'level']; if (!$vipStatus) $is_vip = 0; //已登录 if ($uid) {