Commit cfee98cbf88beb88adba95e24cdb7d5f63f858de
1 parent
0dc3dfaf
Exists in
v1.2
and in
2 other branches
m => M
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
API/Sms.go
@@ -14,7 +14,7 @@ import ( | @@ -14,7 +14,7 @@ import ( | ||
14 | // @Description 发送短信验证码 | 14 | // @Description 发送短信验证码 |
15 | // @Accept json | 15 | // @Accept json |
16 | // @Produce json | 16 | // @Produce json |
17 | -// @Param mobile 18616619599 string true "手机号" | 17 | +// @Param Mobile 18616619599 string true "手机号" |
18 | // @Param Location {"Latitude": 119, "Longitude": 39} string true "位置" | 18 | // @Param Location {"Latitude": 119, "Longitude": 39} string true "位置" |
19 | // @Success 200 {object} tools.ResponseSeccess "{"errcode":0,"result":"ok"}验证码3分钟内有效" | 19 | // @Success 200 {object} tools.ResponseSeccess "{"errcode":0,"result":"ok"}验证码3分钟内有效" |
20 | // @Failure 500 {object} tools.ResponseError "{"errcode":1,"errmsg":"错误原因"}" | 20 | // @Failure 500 {object} tools.ResponseError "{"errcode":1,"errmsg":"错误原因"}" |
README.md
@@ -265,7 +265,7 @@ | @@ -265,7 +265,7 @@ | ||
265 | 265 | ||
266 | | Param Name | Example | Data Type | Description | Required? | | 266 | | Param Name | Example | Data Type | Description | Required? | |
267 | |-----|-----|-----|-----|-----| | 267 | |-----|-----|-----|-----|-----| |
268 | -| mobile | 18616619599 | string | 手机号 | Yes | | 268 | +| Mobile | 18616619599 | string | 手机号 | Yes | |
269 | | Location | {"Latitude": 119, "Longitude": 39} | string | 位置 | Yes | | 269 | | Location | {"Latitude": 119, "Longitude": 39} | string | 位置 | Yes | |
270 | 270 | ||
271 | 271 |