更新充值到用户得采购款

This commit is contained in:
liu 2024-06-15 09:46:41 +08:00
parent b3d6645953
commit 112e9b9c4a

View File

@ -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();