Compare commits
No commits in common. "14c0b8ce607f2e52a1681435fe5a04c6b6cacf7d" and "382022c2dec6f92fd2a8ccd5984f674241f8ca8e" have entirely different histories.
14c0b8ce60
...
382022c2de
@ -200,9 +200,6 @@ class WithdrawController
|
|||||||
$withdraw = Withdraw::where('order_number', $orderId)->first();
|
$withdraw = Withdraw::where('order_number', $orderId)->first();
|
||||||
//$failedMessage为null就是成功
|
//$failedMessage为null就是成功
|
||||||
if ($failedMessage != null) {
|
if ($failedMessage != null) {
|
||||||
if($withdraw->status == 5){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$rate = ExchangeRate::where('type', 'BDT')->get();
|
$rate = ExchangeRate::where('type', 'BDT')->get();
|
||||||
$money = $amount * 100 / $rate[0]['points'] + 300;
|
$money = $amount * 100 / $rate[0]['points'] + 300;
|
||||||
UserRewardDao::base($withdraw->user_id, 1, $money, '提现失败返还');
|
UserRewardDao::base($withdraw->user_id, 1, $money, '提现失败返还');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user