-
| application.yml: server: port: 8080 servlet: context-path: /demo使用 Intellij idea 自动生成的 ### POST http://localhost:8080/demo/api/auth/login?usernameOrEmailOrPhone=admin&password=123456 <> 2021-07-10T131209.200.json <> 2021-07-10T125242.200.json{ "code": 400, "message": "参数不能为空!", "data": null }且没有进入 |
Beta Was this translation helpful? Give feedback.
Answered by icyfang Jul 10, 2021
Replies: 2 comments 1 reply
-
| 参数放body,而不是param |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by jhnlynn
-
| 400 错误基本都是参数请求格式错误 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
参数放body,而不是param