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

接口返回的业务code错误 #20

Open
yanshuanghua opened this issue Jan 13, 2025 · 2 comments
Open

接口返回的业务code错误 #20

yanshuanghua opened this issue Jan 13, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@yanshuanghua
Copy link

复现步骤:

  1. 下载项目,并运行
  2. 调用/api/account/auth/register,使用接口文档中的默认参数即可
curl -X 'POST' \
  'http://localhost:8000/api/account/auth/register' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
  "username": "string",
  "password": "string",
  "confirm_password": "string",
  "phone": "string",
  "full_name": "string",
  "gender": "string"
}'

实际结果:
响应体中code和success字段的值错误
图片
预期结果:
code=400
图片
图片

@yanshuanghua
Copy link
Author

@Deali-Axy 大佬,看下这个问题

@Deali-Axy
Copy link
Owner

@Deali-Axy 大佬,看下这个问题

好的,会在近期修复

@Deali-Axy Deali-Axy added the bug Something isn't working label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants