兼容修改
This commit is contained in:
@@ -53,9 +53,6 @@ class MyExceptionHandle extends ExceptionHandler implements ExceptionHandlerInte
|
||||
|
||||
// 非json请求则返回一个页面
|
||||
return new Response(200, ['Content-Type' => 'application/json'], $exception->getMessage());
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user