From 1177350ac81051f397ff4c2ac20e84326506e113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=8B=BC?= <2468023037@qq.com> Date: Sun, 23 Feb 2025 22:21:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/WithdrawController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controller/api/WithdrawController.php b/app/controller/api/WithdrawController.php index c0e3794..e11bc52 100644 --- a/app/controller/api/WithdrawController.php +++ b/app/controller/api/WithdrawController.php @@ -200,6 +200,9 @@ class WithdrawController $withdraw = Withdraw::where('order_number', $orderId)->first(); //$failedMessage为null就是成功 if ($failedMessage != null) { + if($withdraw->status == 5){ + return; + } $rate = ExchangeRate::where('type', 'BDT')->get(); $money = $amount * 100 / $rate[0]['points'] + 300; UserRewardDao::base($withdraw->user_id, 1, $money, '提现失败返还');