更改 progress 可选
This commit is contained in:
parent
5a91506904
commit
2c0c4d3cd9
@ -39,7 +39,7 @@ public function store(Request $request): JsonResponse
|
||||
//
|
||||
$this->validate($request, [
|
||||
'title' => 'required|max:255',
|
||||
'progress' => 'sometimes|integer|max:100',
|
||||
'progress' => 'nullable|integer|max:100',
|
||||
'status' => 'required|in:pending,processing,need_operation,done,success,failed,error,canceled',
|
||||
]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user