Skip to content

异常处理只能返回通用异常问题 #210

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

Open
ITlvli opened this issue Apr 27, 2025 · 1 comment
Open

异常处理只能返回通用异常问题 #210

ITlvli opened this issue Apr 27, 2025 · 1 comment

Comments

@ITlvli
Copy link

ITlvli commented Apr 27, 2025

开发环境设置了验证异常,返回的却是{"code": 1001,"message": "Service Error"},正确返回应该是{"code": 1002, "message": "验证异常..."}

@ITlvli
Copy link
Author

ITlvli commented Apr 27, 2025

Image
请求官网接口却是能返回正确的验证异常

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

No branches or pull requests

1 participant