From 2e76d53c0fa42f0c4394bd7648557f8257fde36c Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 30 Sep 2024 08:13:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8F=90=E7=8E=B0=E9=87=91?= =?UTF-8?q?=E9=A2=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/controllers/base/DivideAccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/controllers/base/DivideAccountController.php b/admin/controllers/base/DivideAccountController.php index 19d8d66..2442392 100644 --- a/admin/controllers/base/DivideAccountController.php +++ b/admin/controllers/base/DivideAccountController.php @@ -567,7 +567,7 @@ class DivideAccountController extends BaseAdminController 'user_id' => 0, 'user_type' => 2 ])->one(); - $platformAccount->able_cash = bcadd($platformAccount->able_cash, $chargeCpr->charge_cash, 2); + $platformAccount->able_cash = bcsub($platformAccount->able_cash, $chargeCpr->charge_cash, 2); $platformAccount->charge_cash = bcadd($platformAccount->charge_cash, $chargeCpr->charge_cash, 2); $platformAccount->saveOrFail(); }