Commit 25e52b33b0fa02d84f9ac964b0fde03354b19b45
1 parent
457e4a41
u
Showing
1 changed file
with
94 additions
and
94 deletions
04.用户云/4.0 第三方登录(可选手机号).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>thirdPartyPlat</td> | ||
| 17 | - <td>true</td> | ||
| 18 | - <td>int</td> | ||
| 19 | - <td>第三方平台编号 [platform : 1:sina weibo 2:qq weibo 3:weixin 4:renren ]</td> | ||
| 20 | - </tr> | ||
| 21 | - <tr> | ||
| 22 | - <td>thirdPartyId</td> | ||
| 23 | - <td>true</td> | ||
| 24 | - <td>string</td> | ||
| 25 | - <td>第三方用户ID</td> | ||
| 26 | - </tr> | ||
| 27 | - <tr> | ||
| 28 | - <td>uuid</td> | ||
| 29 | - <td>true</td> | ||
| 30 | - <td>string</td> | ||
| 31 | - <td>设备ID</td> | ||
| 32 | - </tr> | ||
| 33 | - <tr> | ||
| 34 | - <td>frmId</td> | ||
| 35 | - <td>false</td> | ||
| 36 | - <td>string</td> | ||
| 37 | - <td>渠道ID</td> | ||
| 38 | - </tr> | ||
| 39 | - <tr> | ||
| 40 | - <td>clientPlat</td> | ||
| 41 | - <td>true</td> | ||
| 42 | - <td>string</td> | ||
| 43 | - <td>客户端平台[i:IOS客户端,a:Android客户端;w:网页]</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 | - "data": { | ||
| 60 | - "uid": "10463520", | ||
| 61 | - "nickName": "test", | ||
| 62 | - "gender": "n", | ||
| 63 | - "location": "未知", | ||
| 64 | - "faceUrl": "https://y1.cnliveimg.com/mobile/images/mobilehead/default/face_60X60.jpg", | ||
| 65 | - "mobile": "15527615643", | ||
| 66 | - "email": "", | ||
| 67 | - "extInfo": "", | ||
| 68 | - "qqUid": "", | ||
| 69 | - "wxUid": "", | ||
| 70 | - "sinaUid": "", | ||
| 71 | - "renrenUid": "6666", | ||
| 72 | - "hUid": "", | ||
| 73 | - "token": "qMVBrKYtQvNv0TX5kUJs5X596K9YGNphiT459XroupmuKSYDBJiUY2+/oTO13iem" | ||
| 74 | - } | ||
| 75 | -} | ||
| 76 | -{ | ||
| 77 | - "errorCode": "1", | ||
| 78 | - "errorMessage": "请求参数无效" | ||
| 79 | -} | ||
| 80 | -{ | ||
| 81 | - "errorCode": "41014", | ||
| 82 | - "errorMessage": "第三方平台编号无效" | ||
| 83 | -} | ||
| 84 | -{ | ||
| 85 | - "errorCode": "41005", | ||
| 86 | - "errorMsg": "ClientPlat无效" | ||
| 87 | -} | ||
| 88 | -{ | ||
| 89 | - "errorCode": "42013", | ||
| 90 | - "errorMsg": "此帐号未注册,请先注册" | ||
| 91 | -} | ||
| 92 | -{ | ||
| 93 | - "errorCode": "40005", | ||
| 94 | - "errorMessage": "其他错误" | 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>thirdPartyPlat</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>int</td> | ||
| 19 | + <td>第三方平台编号 [platform : 1:sina weibo 2:qq weibo 3:weixin 4:renren ]</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>thirdPartyId</td> | ||
| 23 | + <td>true</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>第三方用户ID<br>[qq: 建议使用openid, wx: 建议使用unionid, sina: 建议使用idstr];<br>注意:同一用户在登录Sp下不同app时,thirdPartyId必须相同</td> | ||
| 26 | + </tr> | ||
| 27 | + <tr> | ||
| 28 | + <td>uuid</td> | ||
| 29 | + <td>true</td> | ||
| 30 | + <td>string</td> | ||
| 31 | + <td>设备ID</td> | ||
| 32 | + </tr> | ||
| 33 | + <tr> | ||
| 34 | + <td>frmId</td> | ||
| 35 | + <td>false</td> | ||
| 36 | + <td>string</td> | ||
| 37 | + <td>渠道ID</td> | ||
| 38 | + </tr> | ||
| 39 | + <tr> | ||
| 40 | + <td>clientPlat</td> | ||
| 41 | + <td>true</td> | ||
| 42 | + <td>string</td> | ||
| 43 | + <td>客户端平台[i:IOS客户端,a:Android客户端;w:网页]</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 | + "data": { | ||
| 60 | + "uid": "10463520", | ||
| 61 | + "nickName": "test", | ||
| 62 | + "gender": "n", | ||
| 63 | + "location": "未知", | ||
| 64 | + "faceUrl": "https://y1.cnliveimg.com/mobile/images/mobilehead/default/face_60X60.jpg", | ||
| 65 | + "mobile": "15527615643", | ||
| 66 | + "email": "", | ||
| 67 | + "extInfo": "", | ||
| 68 | + "qqUid": "", | ||
| 69 | + "wxUid": "", | ||
| 70 | + "sinaUid": "", | ||
| 71 | + "renrenUid": "6666", | ||
| 72 | + "hUid": "", | ||
| 73 | + "token": "qMVBrKYtQvNv0TX5kUJs5X596K9YGNphiT459XroupmuKSYDBJiUY2+/oTO13iem" | ||
| 74 | + } | ||
| 75 | +} | ||
| 76 | +{ | ||
| 77 | + "errorCode": "1", | ||
| 78 | + "errorMessage": "请求参数无效" | ||
| 79 | +} | ||
| 80 | +{ | ||
| 81 | + "errorCode": "41014", | ||
| 82 | + "errorMessage": "第三方平台编号无效" | ||
| 83 | +} | ||
| 84 | +{ | ||
| 85 | + "errorCode": "41005", | ||
| 86 | + "errorMsg": "ClientPlat无效" | ||
| 87 | +} | ||
| 88 | +{ | ||
| 89 | + "errorCode": "42013", | ||
| 90 | + "errorMsg": "此帐号未注册,请先注册" | ||
| 91 | +} | ||
| 92 | +{ | ||
| 93 | + "errorCode": "40005", | ||
| 94 | + "errorMessage": "其他错误" | ||
| 95 | } | 95 | } |
| 96 | \ No newline at end of file | 96 | \ No newline at end of file |