简要描述:
- 直播间主播礼物排名
请求URL:
POST:一级域名/wapapi/addons/liveshopping/liveshopping/getAnchorGiftRanking
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
live_id | 否 | int | 直播间id |
返回示例:
正确时返回:
{
"code": 1,
"data": {
"anchor_gift_rank": {
"anchor_name": "15768882033",//主播名称
"user_headimg": "https://vslai-com-cn.oss-cn-hangzhou.aliyuncs.com/upload/26/2019/09/10/16/1568103823254.png",//头像
"point_total_num": 9,//收到礼物总积分
"differ_price": 0,//距离最后一名的相差分数
"rank": 1,//排名
},
"live_gift_rank_arr": [
{
"live_id": 1,//直播间id
"anchor_id": 1,//主播id
"point_total_num": 101,//收到礼物总积分
"anchor_name": "tim",//主播名称
"user_headimg": "https://vslai-com-cn.oss-cn-hangzhou.aliyuncs.com/upload/26/2019/09/10/16/1568103823254.png"//主播头像
},
{
"live_id": 2,
"anchor_id": 2,
"point_total_num": 10,
"anchor_name": "tim",
"user_headimg": "https://vslai-com-cn.oss-cn-hangzhou.aliyuncs.com/upload/26/2019/09/10/16/1568103823254.png"
}
]
}
}
错误时返回:
{
"code": -1,
"message": "系统繁忙"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|