Commit c438303bf59a965f053dbc8bdb5e7cc4ffa34cda
1 parent
3d9dae4a
fix: update
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
doc/account.md
... | ... | @@ -22,11 +22,11 @@ http://127.0.0.1:8080/v1/register |
22 | 22 | * 请求参数需要拼接为json,请求体是data-raw, 详情参考【请求参数】 |
23 | 23 | 3. 请求参数:(以参数有就传) |
24 | 24 | |
25 | -| 参数 | 类型 | 是否必须 | 备注 | | |
26 | -| --- | --- | --- | --- | | |
27 | -| phone | string | Y |手机号 | | |
28 | -| password | string | Y | 密码 | | |
29 | -| code | string | Y | 短信验证码(暂无) | | |
25 | +| 参数 | 类型 | 是否必须 | 备注 | | |
26 | +|----------|--------|------|-----------| | |
27 | +| phone | string | Y | 手机号 | | |
28 | +| password | string | Y | 密码 | | |
29 | +| code | string | Y | 短信验证码(暂无) | | |
30 | 30 | |
31 | 31 | 最后参数组合示例为: |
32 | 32 | ```json |
... | ... | @@ -73,7 +73,7 @@ $ curl --request POST 'http://192.168.0.206:8080/v1/register' \ |
73 | 73 | |
74 | 74 | 请求示例: |
75 | 75 | ```shell |
76 | -$ curl --request POST 'http://192.168.0.206:8080/v1/login' \ | |
76 | +$ curl --request POST 'http://192.168.0.100:8080/v1/login' \ | |
77 | 77 | --header 'Content-Type: application/json' \ |
78 | 78 | --data '{ |
79 | 79 | "phone":"17683852936", | ... | ... |