4.3 微信+手机号登录、注册.md
1.75 KB
请求参数说明:
| 参数 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | true | string | 应用ID |
| mobile | true | string | 手机号 |
| thirdPartyId | true | string | 微信的unionid |
| frmId | false | string | 渠道ID |
| clientPlat | true | string | 客户端平台[i:IOS客户端,a:Android客户端, w: 网页] |
| sign | true | string | 签名 |
返回格式说明:
{
"uid": "10535051",
"nickName": "用户_6769084269",
"gender": "n",
"location": "未知",
"faceUrl": "https://y1.cnliveimg.com/mobile/images/mobilehead/default/face_60X60.jpg",
"mobile": "15810907001",
"countryCode": "86",
"email": "",
"extInfo": "",
"platformId": "769_123",
"qqUid": "",
"wxUid": "asd1236",
"sinaUid": "",
"renrenUid": "",
"hUid": "",
"token": "ZohJvVBOtBA/9UePPhlIgHfEZ+SLArC97udW8NUlBhuuKSYDBJiUY2+/oTO13iem",
"isNewUser": false,
"bigFaceUrl": "https://y1.cnliveimg.com/mobile/images/mobilehead/default/face_60X60.jpg"
}
{
"errorCode": "1",
"errorMessage": "请求参数无效"
}
{
"errorCode": "41010",
"errorMessage": "手机号无效"
}
{
"errorCode": "41005",
"errorMessage": "ClientPlat无效"
}
{
"errorCode": "40005",
"errorMessage": "其他错误"
}