接口名称 绑定第3方账号     签名
地址 https://api.cnlive.com/open/api2/user/bind3rd4server
method post
返回数据 json
参数名 参数类型 必选 参数说明
appId String true 应用ID
uid String true 用户ID
thirdPartyPlat int true 第三方平台编号 [platform : 1:sina 2:qq 3:weixin 4:renren]
thirdPartyId String true 第三方用户ID
token String true 平台TOKEN
clientPlat String true 客户端平台[i:IOS客户端,a:Android客户端, w: 网页]
sign String true 签名

返回

{
 "errorCode":"0",
 "errorMessage":"成功"
}
{
 "errorCode":"1",
 "errorMessage":"请求参数无效"
}
{
 "errorCode": "41014",
 "errorMessage": "第三方平台编号无效"
}
{
 "errorCode": "41005",
 "errorMsg": "ClientPlat无效"
}
{
 "errorCode": "8",
 "errorMessage": "token已失效"
}
{
 "errorCode": "9",
 "errorMessage": "token验证失败"
}
{
 "errorCode": "42011",
 "errorMessage": "第三方账号已绑定,不允许重复绑定"
}
{
 "errorCode": "42012",
 "errorMessage": "第三方账号绑定失败"
}
{
 "errorCode":"40005",
 "errorMessage":"其他错误"
}