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, '提现失败返还');