diff --git a/API/Sms.go b/API/Sms.go index 1cdb005..6ee5b50 100644 --- a/API/Sms.go +++ b/API/Sms.go @@ -14,7 +14,7 @@ import ( // @Description 发送短信验证码 // @Accept json // @Produce json -// @Param mobile 18616619599 string true "手机号" +// @Param Mobile 18616619599 string true "手机号" // @Param Location {"Latitude": 119, "Longitude": 39} string true "位置" // @Success 200 {object} tools.ResponseSeccess "{"errcode":0,"result":"ok"}验证码3分钟内有效" // @Failure 500 {object} tools.ResponseError "{"errcode":1,"errmsg":"错误原因"}" diff --git a/README.md b/README.md index e802ea8..bddc426 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,7 @@ | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| -| mobile | 18616619599 | string | 手机号 | Yes | +| Mobile | 18616619599 | string | 手机号 | Yes | | Location | {"Latitude": 119, "Longitude": 39} | string | 位置 | Yes | -- libgit2 0.21.0