Fix
parent
342c5f7c3d
commit
1cfa3715c4
|
|
@ -119,8 +119,8 @@ class Handler extends ExceptionHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'errcode' => 422,
|
'code' => 422,
|
||||||
'errmsg' => $firstMessage ?: '参数错误',
|
'message' => $firstMessage ?: '参数错误',
|
||||||
'errors' => $errors,
|
'errors' => $errors,
|
||||||
], 200);
|
], 200);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue