Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add. 全局异常处理器增加响应状态 #166

Merged

Conversation

FlowerCard
Copy link

@FlowerCard FlowerCard commented Jan 30, 2024

已有的全局异常处理器虽然是全局捕获了异常,但是在前端的 Http status 始终是200

@FlowerCard
Copy link
Author

这两张截图是没有加响应状态处理 和 加了响应状态处理的接口返回
image
image

@zongzibinbin zongzibinbin merged commit f256332 into zongzibinbin:main Jan 31, 2024
@FlowerCard
Copy link
Author

感谢采纳

@FlowerCard FlowerCard deleted the feature/GlobalExceptionHandler branch January 31, 2024 11:38
@FlowerCard FlowerCard restored the feature/GlobalExceptionHandler branch January 31, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants