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
9dc19baeb6
commit
8935989b06
@ -155,7 +155,7 @@ class TicketController extends Controller
|
|||||||
$user = User::find($request->session()->get('id'));
|
$user = User::find($request->session()->get('id'));
|
||||||
$limit = config('v2board.commission_withdraw_limit', 100);
|
$limit = config('v2board.commission_withdraw_limit', 100);
|
||||||
if ($limit > ($user->commission_balance / 100)) {
|
if ($limit > ($user->commission_balance / 100)) {
|
||||||
abort(500, '当前系统要求的提现门槛为:' . $limit);
|
abort(500, "当前系统要求的提现门槛佣金需为{$limit}CNY");
|
||||||
}
|
}
|
||||||
DB::beginTransaction();
|
DB::beginTransaction();
|
||||||
$subject = '[提现申请]本工单由系统发出';
|
$subject = '[提现申请]本工单由系统发出';
|
||||||
|
Loading…
Reference in New Issue
Block a user