From 112e9b9c4a55370d53de9da9d559cf0d7c2b54fc Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Sat, 15 Jun 2024 09:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=85=85=E5=80=BC=E5=88=B0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=BE=97=E9=87=87=E8=B4=AD=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/PayNotifyLogic.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 57381099..e78e5b79 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -177,7 +177,8 @@ class PayNotifyLogic extends BaseLogic return true; } bcscale(2); - $user->now_money = bcadd($user->now_money, $price, 2); +// $user->now_money = bcadd($user->now_money, $price, 2);//v.1 + $user->purchase_funds = bcadd($user->purchase_funds, $price, 2); $user->total_recharge_amount = bcadd($user->total_recharge_amount, $price, 2); $user->save();