1.2 登录注册-第三方登录.md
2.9 KB
/* Title: 1.2 登录注册-第三方登录 Sort: 12 */
URL: http://api.cnlive.com/open/api/CnliveMobile/json/thirdPartyLoginIn?sp_id=xxx&...
请求方式: POST
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| sp_id | true | string | 服务提供商ID |
| true | int | 第三方微博编号 [platform : 1:sina weibo 2:qq weibo 3:renren 5:weixin] | |
| uid | true | string | 第三方用户ID |
| nickname | true | string | 用户昵称 |
| gender | true | string | 性别,m:男、f:女、n:未知 |
| location | true | string | 用户所在地 |
| avatarUrl | false | string | 头像,约100*100 |
| uuid | true | string | 设备ID |
| frmId | true | string | 渠道ID |
| openId | false | string | 微信openid |
| plat | true | string | 客户端平台[i:IOS客户端,a:Android客户端] |
| sign | true | string | 签名 |
返回格式说明:
{
"uid": "122",
"uname": "2222222@qq.com",
"nickname": "鱼儿",
"gender": "f",
"location": "China",
"avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg",
"mobile": "139xxxxxxxx",
"integrity": "70", // 资料完整度
"point": "340", // 积分
"email": "222222222@qq.com",
"emailVerify": "true",
"level": "20",
"levelName": "女神",
"alevel": "1",
"gift_sent": "302",
"gift_rec": "1086",
"china_coin": "102024", // 中国币
"ctmobile": "",
"ctemail": "",
"ctid": "",
"ctrealname": "",
"hdtvPt": "64", // 电视互动积分
"ctpostcode": "",
"type": "1", // 用户类型 0普通用户 3员工
"aid:" "0" // 活动id,没参加活动的为0
"redPackage": "0", // 红包
"uniqueId": "",
"openId": "",
"liveStatuts": "true" // 我要直播权限
}