mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 12:37:54 +08:00
opt 1.2.3
This commit is contained in:
@ -7,7 +7,6 @@ use Illuminate\Foundation\Http\FormRequest;
|
||||
class ServerSave extends FormRequest
|
||||
{
|
||||
CONST RULES = [
|
||||
'rules' => '',
|
||||
'show' => '',
|
||||
'name' => 'required',
|
||||
'group_id' => 'required|array',
|
||||
@ -19,7 +18,8 @@ class ServerSave extends FormRequest
|
||||
'tags' => 'nullable|array',
|
||||
'rate' => 'required|numeric',
|
||||
'network' => 'required|in:tcp,kcp,ws,http,domainsocket,quic',
|
||||
'settings' => ''
|
||||
'networkSettings' => '',
|
||||
'ruleSettings' => ''
|
||||
];
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
|
Reference in New Issue
Block a user