Commit c438303bf59a965f053dbc8bdb5e7cc4ffa34cda

Authored by zhangqijia
1 parent 3d9dae4a

fix: update

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
@@ -22,11 +22,11 @@ http://127.0.0.1:8080/v1/register @@ -22,11 +22,11 @@ http://127.0.0.1:8080/v1/register
22 * 请求参数需要拼接为json,请求体是data-raw, 详情参考【请求参数】 22 * 请求参数需要拼接为json,请求体是data-raw, 详情参考【请求参数】
23 3. 请求参数:(以参数有就传) 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 ```json 32 ```json
@@ -73,7 +73,7 @@ $ curl --request POST 'http://192.168.0.206:8080/v1/register' \ @@ -73,7 +73,7 @@ $ curl --request POST 'http://192.168.0.206:8080/v1/register' \
73 73
74 请求示例: 74 请求示例:
75 ```shell 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 --header 'Content-Type: application/json' \ 77 --header 'Content-Type: application/json' \
78 --data '{ 78 --data '{
79 "phone":"17683852936", 79 "phone":"17683852936",