transfer
This commit is contained in:
parent
f9e9858d11
commit
3d903286e4
@ -565,6 +565,7 @@ class EarningController extends Controller
|
||||
if ($earning_account->is_banned)
|
||||
throw new Exception("账号id: {$earning_account->id}异常");
|
||||
//查询余额足够?
|
||||
Log::info("剩余金额:" . $earning_account->balance . " & 提现金额:" . $amount);
|
||||
if ($earning_account->balance < $amount)
|
||||
return $this->failure('提现金额不能大于可以提现的总金额!');
|
||||
$trade_no = \CommonUtilsService::getTradeNO();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user