Commit 49d57b63021edc4692d6a990bf7794eed8ef45c9
1 parent
9d86e793
update
Showing
1 changed file
with
73 additions
and
0 deletions
04.用户云/2.9 找回或修改密码前校验手机验证码.md
| 1 | +#### 请求参数说明: | ||
| 2 | +<table class="table table-bordered table-striped table-condensed"> | ||
| 3 | + <tr> | ||
| 4 | + <th>参数</th> | ||
| 5 | + <th>必选</th> | ||
| 6 | + <th>类型</th> | ||
| 7 | + <th>说明</th> | ||
| 8 | + </tr> | ||
| 9 | + <tr> | ||
| 10 | + <td>appId</td> | ||
| 11 | + <td>true</td> | ||
| 12 | + <td>string</td> | ||
| 13 | + <td>应用ID</td> | ||
| 14 | + </tr> | ||
| 15 | + <tr> | ||
| 16 | + <td>mobile</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>string</td> | ||
| 19 | + <td>手机号</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>verificationCode</td> | ||
| 23 | + <td>true</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>手机验证码</td> | ||
| 26 | + </tr> | ||
| 27 | + <tr> | ||
| 28 | + <td>clientPlat</td> | ||
| 29 | + <td>true</td> | ||
| 30 | + <td>string</td> | ||
| 31 | + <td>客户端平台[i:IOS客户端,a:Android客户端, w: 网页]</td> | ||
| 32 | + </tr> | ||
| 33 | + <tr> | ||
| 34 | + <td>sign</td> | ||
| 35 | + <td>true</td> | ||
| 36 | + <td>string</td> | ||
| 37 | + <td>签名</td> | ||
| 38 | + </tr> | ||
| 39 | +</table> | ||
| 40 | + | ||
| 41 | +----- | ||
| 42 | +#### 返回格式说明: | ||
| 43 | +``` | ||
| 44 | +{ | ||
| 45 | + "errorCode": "0", | ||
| 46 | + "errorMessage": "成功" | ||
| 47 | +} | ||
| 48 | +{ | ||
| 49 | + "errorCode": "1", | ||
| 50 | + "errorMessage": "请求参数无效" | ||
| 51 | +} | ||
| 52 | + | ||
| 53 | +{ | ||
| 54 | + "errorCode": "41010", | ||
| 55 | + "errorMessage": "手机号无效" | ||
| 56 | +} | ||
| 57 | +{ | ||
| 58 | + "errorCode": "41002", | ||
| 59 | + "errorMessage": "验证码为6位数字" | ||
| 60 | +} | ||
| 61 | +{ | ||
| 62 | + "errorCode": "41005", | ||
| 63 | + "errorMessage": "ClientPlat无效" | ||
| 64 | +} | ||
| 65 | +{ | ||
| 66 | + "errorCode": "41009", | ||
| 67 | + "errorMessage": "验证码错误" | ||
| 68 | +} | ||
| 69 | +{ | ||
| 70 | + "errorCode": "40005", | ||
| 71 | + "errorMessage": "其他错误" | ||
| 72 | +} | ||
| 73 | +``` | ||
| 0 | \ No newline at end of file | 74 | \ No newline at end of file |