获取用户收到的礼物

简要描述
  • 获取用户收到的礼物
请求URL
  • http://zhibo.cookiegeeks.com/user/user-gifts
请求方式
  • POST
参数
参数名 必选 类型 说明
token string token
返回示例
 {
    "code": 200,
    "msg": "操作成功",
    "data": [
        {
            "id": "3",
            "user_id": "10",
            "gift_id": "2",
            "target_id": "0",
            "num": "1",
            "coins": "10",
            "room_id": "10086",
            "type": "1",
            "create_time": "1634110423",
            "gift": {
                "id": "2",
                "titile": "10coins",
                "price": "10",
                "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg",
                "type": "1",
                "create_time": "0"
            }
        },
        {
            "id": "2",
            "user_id": "10",
            "gift_id": "2",
            "target_id": "0",
            "num": "1",
            "coins": "10",
            "room_id": "10086",
            "type": "1",
            "create_time": "1634107281",
            "gift": {
                "id": "2",
                "titile": "10coins",
                "price": "10",
                "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg",
                "type": "1",
                "create_time": "0"
            }
        },
        {
            "id": "1",
            "user_id": "10",
            "gift_id": "2",
            "target_id": "0",
            "num": "10086",
            "coins": "10",
            "room_id": "1",
            "type": "1",
            "create_time": "1634107110",
            "gift": {
                "id": "2",
                "titile": "10coins",
                "price": "10",
                "image": "https://new-dev-1302911647.cos.ap-chengdu.myqcloud.com/coinsIcon/htl.jpg",
                "type": "1",
                "create_time": "0"
            }
        }
    ]
}
返回参数说明
参数名 类型 说明
备注
  • 更多返回错误代码请看首页的错误代码描述