Commit 24c1cbe7b393626a4f862b51f36bb107870de9b9
1 parent
e9dfc28e
u
Showing
2 changed files
with
208 additions
and
0 deletions
04.用户云/8.1 一键登录-获取token.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>uuid</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>string</td> | ||
| 19 | + <td>设备ID</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>frmId</td> | ||
| 23 | + <td>false</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>渠道ID</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 | + "data": { | ||
| 48 | + } | ||
| 49 | +} | ||
| 50 | +{ | ||
| 51 | + "errorCode": "1", | ||
| 52 | + "errorMessage": "请求参数无效" | ||
| 53 | +} | ||
| 54 | +{ | ||
| 55 | + "errorCode": "41001", | ||
| 56 | + "errorMessage": "用户名为手机号" | ||
| 57 | +} | ||
| 58 | +{ | ||
| 59 | + "errorCode": "41002", | ||
| 60 | + "errorMessage": "验证码为6位数字" | ||
| 61 | +} | ||
| 62 | +{ | ||
| 63 | + "errorCode": "41051", | ||
| 64 | + "errorMessage": "密码不可与账号相同" | ||
| 65 | +} | ||
| 66 | +{ | ||
| 67 | + "errorCode": "41052", | ||
| 68 | + "errorMessage": "密码不可为连续的字符串" | ||
| 69 | +} | ||
| 70 | +{ | ||
| 71 | + "errorCode": "41053", | ||
| 72 | + "errorMessage": "密码不可为连续相同的字符串" | ||
| 73 | +} | ||
| 74 | +{ | ||
| 75 | + "errorCode": "41005", | ||
| 76 | + "errorMessage": "ClientPlat无效" | ||
| 77 | +} | ||
| 78 | +{ | ||
| 79 | + "errorCode": "41006", | ||
| 80 | + "errorMessage": "该手机号已存在" | ||
| 81 | +} | ||
| 82 | +{ | ||
| 83 | + "errorCode": "41008", | ||
| 84 | + "errorMessage": "该昵称已存在" | ||
| 85 | +} | ||
| 86 | +{ | ||
| 87 | + "errorCode": "41009", | ||
| 88 | + "errorMessage": "验证码错误" | ||
| 89 | +} | ||
| 90 | +{ | ||
| 91 | + "errorCode": "40005", | ||
| 92 | + "errorMessage": "其他错误" | ||
| 93 | +} | ||
| 94 | +``` | ||
| 0 | \ No newline at end of file | 95 | \ No newline at end of file |
04.用户云/8.2 一键登录-手机登录.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>spToken</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>string</td> | ||
| 19 | + <td>用户一键登录的spToken</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>uuid</td> | ||
| 23 | + <td>true</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>设备ID</td> | ||
| 26 | + </tr> | ||
| 27 | + <tr> | ||
| 28 | + <td>frmId</td> | ||
| 29 | + <td>false</td> | ||
| 30 | + <td>string</td> | ||
| 31 | + <td>渠道ID</td> | ||
| 32 | + </tr> | ||
| 33 | + <tr> | ||
| 34 | + <td>clientPlat</td> | ||
| 35 | + <td>true</td> | ||
| 36 | + <td>string</td> | ||
| 37 | + <td>客户端平台[i:IOS客户端,a:Android客户端, w: 网页]</td> | ||
| 38 | + </tr> | ||
| 39 | + <tr> | ||
| 40 | + <td>sign</td> | ||
| 41 | + <td>true</td> | ||
| 42 | + <td>string</td> | ||
| 43 | + <td>签名</td> | ||
| 44 | + </tr> | ||
| 45 | +</table> | ||
| 46 | + | ||
| 47 | +----- | ||
| 48 | +#### 返回格式说明: | ||
| 49 | +``` | ||
| 50 | +{ | ||
| 51 | + "errorCode": "0", | ||
| 52 | + "errorMessage": "成功", | ||
| 53 | + "data": { | ||
| 54 | + "uid": "10000000", | ||
| 55 | + "nickName": "lili_241", | ||
| 56 | + "gender": "n", | ||
| 57 | + "location": "", | ||
| 58 | + "faceUrl": "http://120.92.63.41:8080/mobile/images/mobilehead/default/face_60X60.jpg", | ||
| 59 | + "mobile": "", | ||
| 60 | + "email": "lili@cnlive.com", | ||
| 61 | + "extInfo": "", | ||
| 62 | + "qqUid": "", | ||
| 63 | + "wxUid": "", | ||
| 64 | + "sinaUid": "", | ||
| 65 | + "renrenUid": "", | ||
| 66 | + "hUid": "", | ||
| 67 | + "token": "qMVBrKYtQvPPKVG+4qyoovh9FQzw6Zd0L1sHbh2Q2wquKSYDBJiUY2+/oTO13iem" | ||
| 68 | + } | ||
| 69 | +} | ||
| 70 | +{ | ||
| 71 | + "errorCode": "1", | ||
| 72 | + "errorMessage": "请求参数无效" | ||
| 73 | +} | ||
| 74 | +{ | ||
| 75 | + "errorCode": "41001", | ||
| 76 | + "errorMessage": "用户名为手机号" | ||
| 77 | +} | ||
| 78 | +{ | ||
| 79 | + "errorCode": "41002", | ||
| 80 | + "errorMessage": "验证码为6位数字" | ||
| 81 | +} | ||
| 82 | +{ | ||
| 83 | + "errorCode": "41051", | ||
| 84 | + "errorMessage": "密码不可与账号相同" | ||
| 85 | +} | ||
| 86 | +{ | ||
| 87 | + "errorCode": "41052", | ||
| 88 | + "errorMessage": "密码不可为连续的字符串" | ||
| 89 | +} | ||
| 90 | +{ | ||
| 91 | + "errorCode": "41053", | ||
| 92 | + "errorMessage": "密码不可为连续相同的字符串" | ||
| 93 | +} | ||
| 94 | +{ | ||
| 95 | + "errorCode": "41005", | ||
| 96 | + "errorMessage": "ClientPlat无效" | ||
| 97 | +} | ||
| 98 | +{ | ||
| 99 | + "errorCode": "41006", | ||
| 100 | + "errorMessage": "该手机号已存在" | ||
| 101 | +} | ||
| 102 | +{ | ||
| 103 | + "errorCode": "41008", | ||
| 104 | + "errorMessage": "该昵称已存在" | ||
| 105 | +} | ||
| 106 | +{ | ||
| 107 | + "errorCode": "41009", | ||
| 108 | + "errorMessage": "验证码错误" | ||
| 109 | +} | ||
| 110 | +{ | ||
| 111 | + "errorCode": "40005", | ||
| 112 | + "errorMessage": "其他错误" | ||
| 113 | +} | ||
| 114 | +``` | ||
| 0 | \ No newline at end of file | 115 | \ No newline at end of file |