Merge remote-tracking branch 'origin/master'

This commit is contained in:
2025-08-15 17:56:52 +08:00

View File

@@ -52,7 +52,7 @@ class MyExceptionHandle extends ExceptionHandler implements ExceptionHandlerInte
} }
// 非json请求则返回一个页面 // 非json请求则返回一个页面
return new Response(200, [], $exception->getMessage()); return new Response(200, ['Content-Type' => 'application/json'], $exception->getMessage());