Commit 70a13f43d3b9435381874262e8ddbee24557becb
1 parent
095feef6
add wiki
Showing
1 changed file
with
67 additions
and
0 deletions
04.用户云/3.5 注册前校验手机验证码.md
0 → 100644
| 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 | +</table> | |
| 34 | + | |
| 35 | +----- | |
| 36 | +#### 返回格式说明: | |
| 37 | +``` | |
| 38 | +{ | |
| 39 | + "errorCode": "0", | |
| 40 | + "errorMessage": "成功" | |
| 41 | +} | |
| 42 | +{ | |
| 43 | + "errorCode": "1", | |
| 44 | + "errorMessage": "请求参数无效" | |
| 45 | +} | |
| 46 | + | |
| 47 | +{ | |
| 48 | + "errorCode": "41010", | |
| 49 | + "errorMessage": "手机号无效" | |
| 50 | +} | |
| 51 | +{ | |
| 52 | + "errorCode": "41002", | |
| 53 | + "errorMessage": "验证码为6位数字" | |
| 54 | +} | |
| 55 | +{ | |
| 56 | + "errorCode": "41005", | |
| 57 | + "errorMessage": "ClientPlat无效" | |
| 58 | +} | |
| 59 | +{ | |
| 60 | + "errorCode": "41009", | |
| 61 | + "errorMessage": "验证码错误" | |
| 62 | +} | |
| 63 | +{ | |
| 64 | + "errorCode": "40005", | |
| 65 | + "errorMessage": "其他错误" | |
| 66 | +} | |
| 67 | +``` | |
| 0 | 68 | \ No newline at end of file | ... | ... |