解除 验证

This commit is contained in:
iVampireSP.com 2022-09-13 12:03:23 +08:00
parent 46a290bfcc
commit 059eb7dbde
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -22,7 +22,7 @@ public function store(Request $request) {
'title' => 'required|max:255', 'title' => 'required|max:255',
'content' => 'required', 'content' => 'required',
'module_id' => 'nullable|sometimes|string|exists:modules,id', 'module_id' => 'nullable|sometimes|string|exists:modules,id',
'host_id' => 'nullable|sometimes|string|exists:hosts,id', 'host_id' => 'nullable|sometimes|exists:hosts,id',
]); ]);
// module_id 和 host_id 必须有个要填写 // module_id 和 host_id 必须有个要填写