This commit is contained in:
Tokumeikoi 2020-03-03 00:56:31 +08:00
parent ab2e39f7dd
commit 19dcd0ffba

View File

@ -10,7 +10,7 @@ class UserUpdate extends FormRequest
'email' => 'required|email', 'email' => 'required|email',
'password' => 'nullable', 'password' => 'nullable',
'transfer_enable' => 'numeric', 'transfer_enable' => 'numeric',
'expired_at' => 'integer', 'expired_at' => 'nullable|integer',
'banned' => 'required|in:0,1', 'banned' => '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',