Commit 29960c738d81ebd3429ed44d8af0c90d2cefcbc6
1 parent
5e3180ff
u
Showing
1 changed file
with
111 additions
and
6 deletions
04.用户云/1.9 更新手机号.md
| 1 | -/* | ||
| 2 | - Title: 1.8 找回密码H5 | ||
| 3 | - Sort: 18 | ||
| 4 | -*/ | ||
| 5 | -#### URL: http://www.cnlive.com/user/pass.action | 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>uid</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>string</td> | ||
| 19 | + <td>用户ID</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>mobile</td> | ||
| 23 | + <td>true</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>手机号</td> | ||
| 26 | + </tr> | ||
| 27 | + <tr> | ||
| 28 | + <td>verificationCode</td> | ||
| 29 | + <td>true</td> | ||
| 30 | + <td>string</td> | ||
| 31 | + <td>手机验证码</td> | ||
| 32 | + </tr> | ||
| 33 | + <tr> | ||
| 34 | + <td>clientPlat</td> | ||
| 35 | + <td>true</td> | ||
| 36 | + <td>string</td> | ||
| 37 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | ||
| 38 | + </tr> | ||
| 39 | + <tr> | ||
| 40 | + <td>token</td> | ||
| 41 | + <td>true</td> | ||
| 42 | + <td>string</td> | ||
| 43 | + <td>平台TOKEN</td> | ||
| 44 | + </tr> | ||
| 45 | + <tr> | ||
| 46 | + <td>sign</td> | ||
| 47 | + <td>true</td> | ||
| 48 | + <td>string</td> | ||
| 49 | + <td>签名</td> | ||
| 50 | + </tr> | ||
| 51 | +</table> | ||
| 52 | + | ||
| 6 | ----- | 53 | ----- |
| 7 | -#### 返回格式:H5页面 | ||
| 8 | \ No newline at end of file | 54 | \ No newline at end of file |
| 55 | +#### 返回格式说明: | ||
| 56 | +``` | ||
| 57 | +{ | ||
| 58 | + "errorCode": "0", | ||
| 59 | + "errorMessage": "成功" | ||
| 60 | +} | ||
| 61 | +{ | ||
| 62 | + "errorCode": "1", | ||
| 63 | + "errorMessage": "请求参数无效" | ||
| 64 | +} | ||
| 65 | +{ | ||
| 66 | + "errorCode": "41010", | ||
| 67 | + "errorMessage": "手机号无效" | ||
| 68 | +} | ||
| 69 | +{ | ||
| 70 | + "errorCode": "41002", | ||
| 71 | + "errorMessage": "验证码为6位数字" | ||
| 72 | +} | ||
| 73 | +{ | ||
| 74 | + "errorCode": "41005", | ||
| 75 | + "errorMessage": "clientPlat无效" | ||
| 76 | +} | ||
| 77 | +{ | ||
| 78 | + "errorCode": "8", | ||
| 79 | + "errorMessage": "token已失效" | ||
| 80 | +} | ||
| 81 | +{ | ||
| 82 | + "errorCode": "9", | ||
| 83 | + "errorMessage": "token验证失败" | ||
| 84 | +} | ||
| 85 | +{ | ||
| 86 | + "errorCode": "41009", | ||
| 87 | + "errorMessage": "验证码错误" | ||
| 88 | +} | ||
| 89 | +{ | ||
| 90 | + "errorCode": "41006", | ||
| 91 | + "errorMessage": "手机号已存在" | ||
| 92 | +} | ||
| 93 | +{ | ||
| 94 | + "errorCode": "42005", | ||
| 95 | + "errorMessage": "用户名更改失败" | ||
| 96 | +} | ||
| 97 | +{ | ||
| 98 | + "errorCode": "42006", | ||
| 99 | + "errorMessage": "昵称更改失败" | ||
| 100 | +} | ||
| 101 | +{ | ||
| 102 | + "errorCode": "42004", | ||
| 103 | + "errorMessage": "操作失败" | ||
| 104 | +} | ||
| 105 | +{ | ||
| 106 | + "errorCode": "42001", | ||
| 107 | + "errorMessage": "未发现此用户" | ||
| 108 | +} | ||
| 109 | +{ | ||
| 110 | + "errorCode": "40005", | ||
| 111 | + "errorMessage": "其他错误" | ||
| 112 | +} | ||
| 113 | +``` | ||
| 9 | \ No newline at end of file | 114 | \ No newline at end of file |