This commit is contained in:
root 2019-12-29 13:29:52 +08:00
parent a3f59aac0a
commit ec284241ee

View File

@ -16,7 +16,7 @@ class ServerSave extends FormRequest
return [
'name' => 'required',
'group_id' => 'required|array',
'parent_id' => 'integer',
'parent_id' => 'nullable|integer',
'host' => 'required',
'port' => 'required',
'server_port' => 'required',