diff --git a/doc/account.md b/doc/account.md index 16ee812..a51371e 100644 --- a/doc/account.md +++ b/doc/account.md @@ -22,11 +22,11 @@ http://127.0.0.1:8080/v1/register * 请求参数需要拼接为json,请求体是data-raw, 详情参考【请求参数】 3. 请求参数:(以参数有就传) -| 参数 | 类型 | 是否必须 | 备注 | -| --- | --- | --- | --- | -| phone | string | Y |手机号 | -| password | string | Y | 密码 | -| code | string | Y | 短信验证码(暂无) | +| 参数 | 类型 | 是否必须 | 备注 | +|----------|--------|------|-----------| +| phone | string | Y | 手机号 | +| password | string | Y | 密码 | +| code | string | Y | 短信验证码(暂无) | 最后参数组合示例为: ```json @@ -73,7 +73,7 @@ $ curl --request POST 'http://192.168.0.206:8080/v1/register' \ 请求示例: ```shell -$ curl --request POST 'http://192.168.0.206:8080/v1/login' \ +$ curl --request POST 'http://192.168.0.100:8080/v1/login' \ --header 'Content-Type: application/json' \ --data '{ "phone":"17683852936", -- libgit2 0.21.2