关注

请求URL:

  • http://域名/finderFollow

请求方式:

  • POST

请求头Headers:

  • Content-Type:application/json
  • Authorization:login接口返回

参数:

参数名 必选 类型 说明
wId String 登录实例标识
userName String 视频号用户的编码(搜索接口返回的userName)
meUserName String 自己的用户编码(获取个人主页接口返回的userName)
type int 操作类型
1:关注
2:取消关注

请求参数示例

{
    "wId": "2c7a5bf6-e23d-x-8f03-b90e844b539f",
    "userName": "v2_060000231003b20faec8c7e48d19c0d4c90ce533b0772e1c08f4c6e0ce38be3ca98f63f23589@finder",
    "meUserName": "v2_060000231003b20fac7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder",
    "type": 1
}

成功返回示例

{
    "code": "1000",
    "message": "处理成功",
    "data": {
        "userName": "v2_060000231003b20faec8c7e48d19c0d4c90ce533b0772e1c08f4c6e0ce38be3ca98f63f23589@finder",
        "nickName": "澎湃新闻",
        "headUrl": "http://wx.qlogo.cn/finderhead/ver_1/HVloPVLgia9nI5MVaricKZoRHPGuuWEB6uEfIjrlbCnsFnkJPKHSuWbTjkL6pOy1HX1nicLzRbzz8VTb2bBFsoWxCVCIxy2DSfGT34JgWcnfA4/0",
        "signature": "",
        "authInfo": {
            "authIconType": 2,
            "authProfession": "上海东方报业有限公司",
            "detailLink": "pages/index/index.html?showdetail=true&username=v2_060000231003b20faec8c7e48d19c0d4c90ce533b0772e1c08f4c6e0ce38be3ca98f63f23589@finder",
            "appName": "gh_4ee148a6ecaa@app"
        },
        "extInfo": null,
        "userMode": null,
        "bindInfo": "CAESgwIKgAIKD2doX2QyOWUwZDIyYTZmORIM5r6O5rmD5paw6Ze7GlVodHRwOi8vd3gucWxvZ28uY24vbW1oZWFkL1EzYXVIZ3p3ek02OW5NNUpyTmlhWmpuc1NXVzVJS3dtREpmbm1QV2E1a2hWQWFyS0FXQ1FLbEEvMTMyMocBCAISggFodHRwczovL2RsZGlyMXY2LnFxLmNvbS93ZWl4aW4vY2hlY2tyZXN1cGRhdGUvaWNvbnNfZmlsbGVkX2NoYW5uZWxzX2F1dGhlbnRpY2F0aW9uX2VudGVycHJpc2VfYTI2NTgwMzIzNjgyNDU2MzllNjY2ZmIxMTUzM2E2MDAucG5n"
    }
}

错误返回示例

{
    "message": "失败",
    "code": "1001",
    "data": null
}

返回数据:

参数名 类型 说明
code String 1000成功
1001失败
msg String 反馈信息
data JSONObject
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2022-07-29 18:59:08

results matching ""

    No results matching ""