2.8 查询多条用户信息.md 2.14 KB

请求参数说明:

参数 必选 类型 说明
appId true string 服务提供商ID
uid true string 查询者用户ID
srcUids true string 被查询多个用户IDs(多个ID以英文,号分割)
clientPlat true string 客户端平台[i:IOS客户端,a:Android客户端, w: 网页]
token true string 查询者平台TOKEN
sign true string 签名

返回格式说明:

{
    "errorCode": "0",
    "errorMessage": "成功",
    "data": [
        {
            "uid": "10000001",
            "nickName": "loveLily_378",
            "gender": "m",
            "location": "China",
            "faceUrl": "https://y3.cnliveimg.com/mobile/images/mobilehead/default/face_60X60.jpg",
            "mobile": "",
            "email": "",
            "extInfo": "",
            "qqUid": "",
            "wxUid": "",
            "sinaUid": "",
            "renrenUid": "",
            "hUid": ""
        },
        {
            "uid": "100054",
            "nickName": "我是谁",
            "gender": "m",
            "location": "",
            "faceUrl": "https://www2.cnlive.com/selfplatform/images/web/x04_small.jpg",
            "mobile": "15810329218",
            "email": "",
            "extInfo": "",
            "qqUid": "",
            "wxUid": "",
            "sinaUid": "",
            "renrenUid": "",
            "hUid": ""
        }
    ]
}

{
    "errorCode": "1",
    "errorMessage": "请求参数无效"
}

{
    "errorCode": "8",
    "errorMessage": "token已失效"
}

{
    "errorCode": "9",
    "errorMessage": "token验证失败"
}