URL: http://10.136.51.35/CnliveM2/user/loginIn3rdForOpen.action?appId=xxx&...
请求方式: POST
返回格式: JSON
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | true | string | 应用ID |
| thirdPartyPlat | true | int | 第三方平台编号 [platform : 1:sina weibo 2:qq weibo 3:weixin 4:renren ] |
| thirdPartyId | true | string | 第三方用户ID |
| nickName | true | string | 用户昵称?重复 |
| gender | false | string | 性别,m:男、f:女、n:未知 |
| location | false | string | 用户所在地 |
| faceUrl | false | string | 头像,约100*100 |
| uuid | false | string | 设备ID |
| frmId | false | string | 渠道ID |
| clientPlat | true | string | 客户端平台[i:IOS客户端,a:Android客户端] |
返回格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"sp_id": "f13d4ccf-30d1-4cf7-8f95-7a893352c7be",
"email": "",
"dev_id": "216",
"role": "master",
"status": "1",
"parent_id": "",
"prem": "",
"sid": "1466239",
"username": "t_1611193499318969",
"mobile": ""
}
}
{
"errorCode": "1",
"errorMessage": "请求参数无效"
}
{
"errorCode": "41014",
"errorMessage": "第三方平台编号无效"
}
{
"errorCode": "41005",
"errorMsg": "ClientPlat无效"
}
{
"errorCode": "41013",
"errorMessage": "性别无效"
}
{
"errorCode": "41015",
"errorMessage": "地址不能超过120个汉字"
}
{
"errorCode": "41016",
"errorMessage": "头像不能超过255位"
}
{
"errorCode": "41008",
"errorMessage": "该昵称已存在"
}
{
"errorCode": "42010",
"errorMessage": "视讯云注册失败"
}
{
"errorCode": "40005",
"errorMessage": "其他错误"
}