接口名称 获取用户信息     签名
地址 https://api.cnlive.com/open/api2/CnliveMobile/json/readUserById
method post
返回数据 json

/* Title: 2.3 获取用户信息 Sort: 23 */

URL: http://api.cnlive.com/open/api/CnliveMobile/json/readUserById?sp_id=xxx&...


请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
sp_id true string 服务提供商ID
uid true string 用户ID
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" // 我要直播权限
}