Skip to content

礼物榜列表 ​

请求路径 ​

  • 请求方式:GET
  • 请求头:Content-Type:application/x-www-form-urlencoded
  • 接口地址:/Third/Statistics/giftRankList
  • 频率限制:10秒100次

请求参数 ​

参数必选类型描述
room_id是number直播间id
pageCurrent否number当前页码。默认第一页。
pageNum否number每页多少条数据。默认10条

响应参数 ​

参数必选类型描述
code是number状态码:200-成功,400-失败
msg是string提示信息
data是array消息内容

data 参数结构

参数必选类型描述
client_photo是string头像
wechat_user_space_id是number用户id
from_client_name是string昵称
gift_money_sum是string金额
third_openid是string微信的openid

响应示例 ​

json
{
    "code": 200,
    "msg": "success",
    "data": [
        {
            "wechat_user_space_id": "2040158",
            "from_client_name": "小可",
            "gift_money_sum": "0.01",
            "client_photo": "http://thirdwx.qlogo.cn/mmopen/xaknJLZAzpp8ZLRmebF9FaW9wrFr1RTu3AiapQrGcN0WJWKjsRnAGWCsSgjaMpibf3CicYfrTpzAM8VKN4rR4MVd7TpgPPscuXY/132",
            "third_openid": "o5Cett2QA6F6oLKda2dIsaN2GolM"
        },
        {
            "wechat_user_space_id": "2040166",
            "from_client_name": "Smile。",
            "gift_money_sum": "0.01",
            "client_photo": "http://thirdwx.qlogo.cn/mmopen/TDQiakm6icX0JgHMLCWfID2V0aR2hiaVmNQ4PaT6WYSDpE6JKjT5q9cL7d5MYtEvgrxeERSH2fGbqF35wRpZbL0ffibUSSZ1l7Ls/132",
            "third_openid": "o5Cett3UQwp-18WyGRGWUMRZxX08"
        }
    ]
}

状态码说明 ​

状态码描述
200成功
400失败
-1参数错误