接口名称 |
手机号快捷登录
签名
|
地址 |
https://api.cnlive.com/open/api2/user/loginInQuicklyForEdu |
method |
post |
返回数据 |
json
|
请求参数说明:
参数 |
必选 |
类型 |
说明 |
appId |
true |
string |
应用ID |
mobile |
true |
string |
手机号 |
countryCode |
true |
string |
手机号国家码;中国为86 |
verificationCode |
true |
string |
验证码 |
uuid |
true |
string |
设备ID |
frmId |
false |
string |
渠道ID |
oId |
false |
string |
学校Id |
clientPlat |
true |
string |
客户端平台[i:IOS客户端,a:Android客户端, w: 网页] |
sign |
true |
string |
签名 |
返回DATA格式说明:
{
"errorCode": "0",
"errorMessage": "成功",
"data": {
"uid": "1466134",
"nickName": "156xxxx9928_571",
"gender": "n",
"location": "",
"faceUrl": "http://120.92.63.41:8080/mobile/images/mobilehead/default/face_60X60.jpg",
"mobile": "15636049928",
"countryCode": "86",
"email": "",
"extInfo": "",
"qqUid": "",
"wxUid": "",
"sinaUid": "",
"renrenUid": "",
"hUid": "",
"token": "qMVBrKYtQvOSHp8+8JE1Q2/gIXrEnwJRFzm3/vc3Yi55picoShqZIw=="
}
}
{
"errorCode": "1",
"errorMessage": "请求参数无效"
}
{
"errorCode": "41005",
"errorMsg": "ClientPlat无效"
}
{
"errorCode": "41010",
"errorMessage": "手机号无效"
}
{
"errorCode": "41002",
"errorMessage": "验证码为6位数字"
}
{
"errorCode": "41009",
"errorMessage": "验证码错误"
}
{
"errorCode": "41006",
"errorMessage": "手机号已存在"
}
{
"errorCode": "40005",
"errorMessage": "其他错误"
}