Commit cc0eb6b4a967c08f6ebf7d23c6919f801ef80420
1 parent
d8ddbe8d
u
Showing
1 changed file
with
93 additions
and
87 deletions
04.用户云/3.6 通过原密码修改密码.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>uid</td> | |
| 17 | - <td>true</td> | |
| 18 | - <td>string</td> | |
| 19 | - <td>用户ID</td> | |
| 20 | - </tr> | |
| 21 | - <tr> | |
| 22 | - <td>pwd</td> | |
| 23 | - <td>true</td> | |
| 24 | - <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> | |
| 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 | -</table> | |
| 46 | - | |
| 47 | ------ | |
| 48 | -#### 返回格式说明: | |
| 49 | -``` | |
| 50 | -{ | |
| 51 | - "errorCode":"0", | |
| 52 | - "errorMessage":"成功" | |
| 53 | -} | |
| 54 | -{ | |
| 55 | - "errorCode":"1", | |
| 56 | - "errorMessage":"请求参数无效" | |
| 57 | -} | |
| 58 | -{ | |
| 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": "密码不可为连续相同的字符串" | |
| 83 | -} | |
| 84 | -{ | |
| 85 | - "errorCode":"40005", | |
| 86 | - "errorMessage":"其他错误" | |
| 87 | -} | |
| 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>pwd</td> | |
| 23 | + <td>true</td> | |
| 24 | + <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> | |
| 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 | + | |
| 53 | +----- | |
| 54 | +#### 返回格式说明: | |
| 55 | +``` | |
| 56 | +{ | |
| 57 | + "errorCode":"0", | |
| 58 | + "errorMessage":"成功" | |
| 59 | +} | |
| 60 | +{ | |
| 61 | + "errorCode":"1", | |
| 62 | + "errorMessage":"请求参数无效" | |
| 63 | +} | |
| 64 | +{ | |
| 65 | + "errorCode":"41056", | |
| 66 | + "errorMessage":"新密码和原密码不能相同 | |
| 67 | +" | |
| 68 | +} | |
| 69 | +{ | |
| 70 | + "errorCode": "42003", | |
| 71 | + "errorMessage": "密码错误" | |
| 72 | +} | |
| 73 | +{ | |
| 74 | + "errorCode": "42001", | |
| 75 | + "errorMessage": "未发现此用户" | |
| 76 | +} | |
| 77 | +{ | |
| 78 | + "errorCode": "41004", | |
| 79 | + "errorMessage": "密码为6-20位字母或数字 | |
| 80 | +" | |
| 81 | +} | |
| 82 | +{ | |
| 83 | + "errorCode": "41052", | |
| 84 | + "errorMessage": "密码不可为连续的字符串" | |
| 85 | +} | |
| 86 | +{ | |
| 87 | + "errorCode": "41053", | |
| 88 | + "errorMessage": "密码不可为连续相同的字符串" | |
| 89 | +} | |
| 90 | +{ | |
| 91 | + "errorCode":"40005", | |
| 92 | + "errorMessage":"其他错误" | |
| 93 | +} | |
| 88 | 94 | ``` |
| 89 | 95 | \ No newline at end of file | ... | ... |