解除 验证
This commit is contained in:
parent
46a290bfcc
commit
059eb7dbde
@ -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 必须有个要填写
|
||||||
|
Loading…
Reference in New Issue
Block a user