mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
fix user plan not nullable
This commit is contained in:
parent
3c78bed800
commit
c28a6ec1d3
@ -12,7 +12,7 @@ class UserUpdate extends FormRequest
|
|||||||
'transfer_enable' => 'numeric',
|
'transfer_enable' => 'numeric',
|
||||||
'expired_at' => 'integer',
|
'expired_at' => 'integer',
|
||||||
'enable' => 'required|in:0,1',
|
'enable' => 'required|in:0,1',
|
||||||
'plan_id' => 'nullable|integer',
|
'plan_id' => 'nullable|integer',
|
||||||
'commission_rate' => 'nullable|integer|min:0|max:100',
|
'commission_rate' => 'nullable|integer|min:0|max:100',
|
||||||
'discount' => 'nullable|integer|min:0|max:100',
|
'discount' => 'nullable|integer|min:0|max:100',
|
||||||
'is_admin' => 'required|in:0,1',
|
'is_admin' => 'required|in:0,1',
|
||||||
|
Loading…
Reference in New Issue
Block a user