Page History

Bind3rd

Last edited by 国亚奇

URL: http://10.136.51.35/CnliveM2/user/bind3rd.action?appId=xxx&...


请求方式: POST


返回格式: JSON

参数名 参数类型 必选 参数说明
appId String true 应用ID
uid String true 用户ID
thirdPartyPlat String true 第三方平台编号 [platform : 1:sina weibo 2:qq weibo 3:weixin 4:renren]
thirdPartyId String true 第三方用户ID
token String true 平台TOKEN
clientPlat String true 客户端平台[i:IOS客户端,a:Android客户端]

返回

{
    "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":"其他错误"
}