1
0
mirror of https://gitee.com/coder-xiaomo/flashsale synced 2025-09-12 06:51:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

异常处理2

This commit is contained in:
2022-03-01 18:32:59 +08:00
parent 15c78e21bd
commit 79f07cb6cd
3 changed files with 18 additions and 13 deletions

View File

@@ -14,12 +14,12 @@
### 本次修改通过以下方式查看👇
> http://localhost:8090/user/get?id=1
> http://localhost:8090/user/get?id=2
预期效果:
```json
{"data":{"id":1,"name":"admin","gender":2,"age":18,"telephone":"110"},"status":"success"}
{"data":{"errCode":10002,"errMsg":"未知错误"},"status":"fail"}
```
### 层次结构以User为例自上向下