接口名称 |
通过手机号注册
签名
|
地址 |
https://api.cnlive.com/open/api2/user/registerByMobile |
method |
post |
返回数据 |
json
|
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
mobile |
true |
string |
手机号 |
frmId |
false |
string |
渠道ID |
clientPlat |
true |
string |
客户端平台[i:IOS客户端,a:Android客户端, w: 网页] |
sign |
true |
string |
签名 |
返回格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"uid": "10535070",
"nickName": "181xxxx2155",
"gender": "n",
"location": "",
"faceUrl": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png",
"mobile": "18101092155",
"countryCode": "86",
"email": "",
"extInfo": "",
"platformId": "769_jetj7bq525",
"qqUid": "",
"wxUid": "",
"sinaUid": "",
"renrenUid": "",
"hUid": "",
"token": "/TrKh4FOM9hee3aUIVN93c+/Jc9jpXKvA6DqhDKSMcJgJbwVOSoJxXmmJyhKGpkj",
"isNewUser": false,
"bigFaceUrl": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png"
}
}
{
"errorCode": "1",
"errorMessage": "请求参数无效"
}
{
"errorCode": "41010",
"errorMessage": "手机号无效"
}
{
"errorCode": "41005",
"errorMessage": "ClientPlat无效"
}
{
"errorCode": "41063",
"errorMessage": "AppId错误"
}
{
"errorCode": "40005",
"errorMessage": "其他错误"
}