|
@@ -99,7 +99,7 @@ class Handler extends ExceptionHandler
|
|
|
|
|
|
// 404异常
|
|
|
$this->renderable(function (NotFoundHttpException $e) {
|
|
|
- return $this->formatJsonResponse(404, '请求的资源不存在', Response::HTTP_NOT_FOUND);
|
|
|
+ return $this->formatJsonResponse(Response::HTTP_NOT_FOUND, '请求的资源不存在', 200);
|
|
|
});
|
|
|
|
|
|
// 模型未找到异常
|