This commit is contained in:
root 2019-12-17 15:55:38 +08:00
parent f86a028920
commit 60d87ed0f5

View File

@ -20,7 +20,7 @@ class UserUpdate extends FormRequest
'banned' => 'required|in:0,1', 'banned' => 'required|in:0,1',
'is_admin' => 'required|in:0,1', 'is_admin' => 'required|in:0,1',
'plan_id' => 'integer', 'plan_id' => 'integer',
'commission_rate' => 'integer|min:0|max:100|nullable' 'commission_rate' => 'nullable|integer|min:0|max:100'
]; ];
} }