mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: commission withdraw limit
This commit is contained in:
parent
c02db9d957
commit
9dc19baeb6
@ -154,7 +154,7 @@ class TicketController extends Controller
|
||||
{
|
||||
$user = User::find($request->session()->get('id'));
|
||||
$limit = config('v2board.commission_withdraw_limit', 100);
|
||||
if ($limit < ($user->commission_balance / 100)) {
|
||||
if ($limit > ($user->commission_balance / 100)) {
|
||||
abort(500, '当前系统要求的提现门槛为:' . $limit);
|
||||
}
|
||||
DB::beginTransaction();
|
||||
|
Loading…
Reference in New Issue
Block a user