改进 内容最长 255
This commit is contained in:
parent
0139531973
commit
95c36b998f
@ -24,7 +24,7 @@ public function store(Request $request): JsonResponse
|
||||
{
|
||||
$this->validate($request, [
|
||||
'title' => 'required|max:255',
|
||||
'content' => 'required',
|
||||
'content' => 'required|string|max:255',
|
||||
'module_id' => 'nullable|sometimes|string|exists:modules,id',
|
||||
'host_id' => 'nullable|sometimes|exists:hosts,id',
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user