1.2 登录注册-第三方登录.md
1.98 KB
/* Title: 1.2 第三方登录 Sort: 12 */
URL: http://api.cnlive.com/open/api/CnliveMobile/json/thirdPartyLoginIn?
请求方式: POST
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| spId | true | string | 服务提供商ID |
| thirdPartyPlat | true | int | 第三方平台编号 [platform : 1:sina weibo 2:qq weibo 3:renren 5:weixin] |
| openId | true | string | 第三方用户ID |
| nickName | true | string | 用户昵称?重复 |
| gender | true | string | 性别,m:男、f:女、n:未知 |
| location | true | string | 用户所在地 |
| faceUrl | false | string | 头像,约100*100 |
| uuid | true | string | 设备ID |
| frmId | true | string | 渠道ID |
| clientPlat | true | string | 客户端平台[i:IOS客户端,a:Android客户端] |
| sign | true | string | 签名 |
返回格式说明:
{
"uid": "122",
"userName": "2222222@qq.com",
"nickName": "鱼儿",
"gender": "f",
"location": "China",
"faceUrl": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg",
"token": "12345678901234567890123456789012",
}