Commit 996e2e6f0558af2f82aae193cc1c8a55dcf3c1e9
1 parent
3f5b79d6
u
Showing
1 changed file
with
16 additions
and
47 deletions
04.用户云/3.7 App批量解绑手机号.md
| 1 | +#### 请求方式: POST | ||
| 2 | +----- | ||
| 3 | +#### 返回格式: JSON | ||
| 4 | +----- | ||
| 1 | #### 请求参数说明: | 5 | #### 请求参数说明: |
| 2 | <table class="table table-bordered table-striped table-condensed"> | 6 | <table class="table table-bordered table-striped table-condensed"> |
| 3 | <tr> | 7 | <tr> |
| @@ -13,34 +17,16 @@ | @@ -13,34 +17,16 @@ | ||
| 13 | <td>应用ID</td> | 17 | <td>应用ID</td> |
| 14 | </tr> | 18 | </tr> |
| 15 | <tr> | 19 | <tr> |
| 16 | - <td>uid</td> | ||
| 17 | - <td>true</td> | ||
| 18 | - <td>string</td> | ||
| 19 | - <td>用户ID</td> | ||
| 20 | - </tr> | ||
| 21 | - <tr> | ||
| 22 | - <td>pwd</td> | 20 | + <td>mobile</td> |
| 23 | <td>true</td> | 21 | <td>true</td> |
| 24 | <td>string</td> | 22 | <td>string</td> |
| 25 | - <td>原密码</td> | ||
| 26 | - </tr> | ||
| 27 | - <tr> | ||
| 28 | - <td>newPwd</td> | ||
| 29 | - <td>true</td> | ||
| 30 | - <td>string</td> | ||
| 31 | - <td>新密码</td> | 23 | + <td>手机号;多个手机号以英文,号分割</td> |
| 32 | </tr> | 24 | </tr> |
| 33 | <tr> | 25 | <tr> |
| 34 | <td>clientPlat</td> | 26 | <td>clientPlat</td> |
| 35 | <td>true</td> | 27 | <td>true</td> |
| 36 | <td>string</td> | 28 | <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> | 29 | + <td>客户端平台[i:IOS客户端,a:Android客户端;w:网页]</td> |
| 44 | </tr> | 30 | </tr> |
| 45 | </table> | 31 | </table> |
| 46 | 32 | ||
| @@ -48,38 +34,21 @@ | @@ -48,38 +34,21 @@ | ||
| 48 | #### 返回格式说明: | 34 | #### 返回格式说明: |
| 49 | ``` | 35 | ``` |
| 50 | { | 36 | { |
| 51 | - "errorCode":"0", | ||
| 52 | - "errorMessage":"成功" | 37 | + "errorCode": "0", |
| 38 | + "errorMessage": "成功", | ||
| 39 | + "data": { | ||
| 40 | + "mobiles": [ | ||
| 41 | + "xxxxxx" | ||
| 42 | + ] | ||
| 43 | + } | ||
| 53 | } | 44 | } |
| 54 | { | 45 | { |
| 55 | "errorCode":"1", | 46 | "errorCode":"1", |
| 56 | "errorMessage":"请求参数无效" | 47 | "errorMessage":"请求参数无效" |
| 57 | } | 48 | } |
| 58 | { | 49 | { |
| 59 | - "errorCode":"41056", | ||
| 60 | - "errorMessage":"新密码和原密码不能相同 | ||
| 61 | -" | ||
| 62 | -} | ||
| 63 | -{ | ||
| 64 | - "errorCode": "42003", | ||
| 65 | - "errorMessage": "密码错误" | ||
| 66 | -} | ||
| 67 | -{ | ||
| 68 | - "errorCode": "42001", | ||
| 69 | - "errorMessage": "未发现此用户" | ||
| 70 | -} | ||
| 71 | -{ | ||
| 72 | - "errorCode": "41004", | ||
| 73 | - "errorMessage": "密码为6-20位字母或数字 | ||
| 74 | -" | ||
| 75 | -} | ||
| 76 | -{ | ||
| 77 | - "errorCode": "41052", | ||
| 78 | - "errorMessage": "密码不可为连续的字符串" | ||
| 79 | -} | ||
| 80 | -{ | ||
| 81 | - "errorCode": "41053", | ||
| 82 | - "errorMessage": "密码不可为连续相同的字符串" | 50 | + "errorCode":"41005", |
| 51 | + "errorMessage":"ClientPlat无效" | ||
| 83 | } | 52 | } |
| 84 | { | 53 | { |
| 85 | "errorCode":"40005", | 54 | "errorCode":"40005", |