Commit 49ed8439c8a706a9b51008c7a363f882f31c8f35
1 parent
70a13f43
u
Showing
1 changed file
with
72 additions
and
66 deletions
04.用户云/3.5 注册前校验手机验证码.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 | -</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 | -} | 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 | +} | ||
| 67 | ``` | 73 | ``` |
| 68 | \ No newline at end of file | 74 | \ No newline at end of file |