Jing Li 2023-10-25 10:56:57 +08:00
parent 342c5f7c3d
commit 1cfa3715c4
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ class Handler extends ExceptionHandler
}
return response()->json([
'errcode' => 422,
'errmsg' => $firstMessage ?: '参数错误',
'code' => 422,
'message' => $firstMessage ?: '参数错误',
'errors' => $errors,
], 200);
}