关注
POST
/gewe/v2/api/finder/follow请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
myUserName
string
必需
自己的username
myRoleType
integer
必需
自己的roletype
toUserName
string
必需
对方的username
opType
integer
必需
1:关注 2:取消关注
searchInfo
object
可选
如果是通过搜索渠道关注,则把搜索接口返回的cookies、searchId、docId传进来
cookies
string
必需
docId
string
必需
searchId
string
必需
示例
{
"appId": "{{appid}}",
"proxyIp": "",
"myUserName": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder",
"myRoleType": 3,
"opType": 1,
"toUserName": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder",
"searchInfo": {
"cookies": "",
"searchId": "",
"docId": ""
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
object
必需
username
string
必需
对方的username
nickname
string
昵称
headUrl
string
头像
signature
string
简介
followFlag
integer
必需
authInfo
object
必需
coverImgUrl
string
必需
spamStatus
integer
必需
extFlag
integer
必需
extInfo
object
必需
liveStatus
integer
必需
liveCoverImgUrl
string
必需
liveInfo
object
必需
status
integer
必需
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"username": "v2_060000231003b20faec8c6e18f10c7d6c903ec3db0776955d3d97c6b329d6aa58693bcdb7ad1@finder",
"nickname": "朝夕v",
"headUrl": "https://wx.qlogo.cn/finderhead/ver_1/TDibw5X5xTzpMW9D4GE0YnYUMqPAspF0AibTwhdSFWjyt2tZCMuLVon1PIT6aGulvzvlSZPkDcT06NB6D1eoLicYBKiaBCRDXZJSMEErIGQkQJ8/0",
"signature": "。。。",
"followFlag": 1,
"authInfo": {},
"coverImgUrl": "",
"spamStatus": 0,
"extFlag": 262156,
"extInfo": {
"country": "CN",
"province": "Jiangsu",
"city": "Xuzhou",
"sex": 2
},
"liveStatus": 2,
"liveCoverImgUrl": "http://wxapp.tc.qq.com/251/20350/stodownload?m=be88b1cb981aa72b3328ccbd22a58e0b&filekey=30340201010420301e020200fb040253480410be88b1cb981aa72b3328ccbd22a58e0b02022814040d00000004627466730000000132&hy=SH&storeid=5649443df0009b8a38399cc84000000fb00004f7e534815c008e0b08dc805c&dotrans=0&bizid=1023",
"liveInfo": {
"anchorStatusFlag": 133248,
"switchFlag": 53727,
"lotterySetting": {
"settingFlag": 0,
"attendType": 4
}
},
"status": 0
}
}
最后修改时间: 2 个月前