From e260d202a98a11e0f9d26356752c0a04f4595ec4 Mon Sep 17 00:00:00 2001 From: weizong song Date: Wed, 1 Jan 2025 23:39:05 +0800 Subject: [PATCH] up --- app/Http/Controllers/Customer/OrdersController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/Customer/OrdersController.php b/app/Http/Controllers/Customer/OrdersController.php index f068b0c..b686b03 100644 --- a/app/Http/Controllers/Customer/OrdersController.php +++ b/app/Http/Controllers/Customer/OrdersController.php @@ -568,6 +568,8 @@ class OrdersController extends CommonController $customer = $order->customer; $currentBalance = $customer->balance; + dd($totalPaid,$currentBalance); + // 4. 如果支付总额等于用户余额,进行退款处理 if ($totalPaid > 0 && $totalPaid == $currentBalance) { foreach ($recharges as $recharge) {