简要描述:

请求URL:

GET/plugin.redpack-user.frontend.receiveLogDetail.index

参数:

参数名 是否必须 类型 说明
rid true int 红包id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "redpack_info": {
            "thumb": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/newimage/8da397309873b7d6273e7915ef473bac.jpeg",
            "nickname": "15945596374",
            "number": 10,
            "surplus_number": 9
        },
        "receive_amount": "10.00",
        "receive_logs": {
            "current_page": 1,
            "data": [
                {
                    "uid": 698211,
                    "amount": "10.00",
                    "created_at": "2021-07-23 16:13:54",
                    "member": {
                        "uid": 698211,
                        "nickname": "15945596374",
                        "avatar_image": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/newimage/d518b81d36058a3fc84936459e338a2d.gif",
                        "username": "15945596374"
                    }
                }
            ],
            "first_page_url": "http://mdzz.com/admin/shop?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://mdzz.com/admin/shop?page=1",
            "next_page_url": null,
            "path": "http://mdzz.com/admin/shop",
            "per_page": 15,
            "prev_page_url": null,
            "to": 1,
            "total": 1
        }
    }
}

错误时返回:

{
    "result": 0,
    "msg": "参数错误[rid]",
    "data": []
}
{
    "result": 0,
    "msg": "未找到红包信息",
    "data": []
}
{
    "result": 0,
    "msg": "未找到当前会员领取记录",
    "data": []
}

返回参数说明:

参数名 类型 说明
redpack_info arr 红包信息
redpack_info->thumb str 红包图标
redpack_info->nickname str 会员昵称
redpack_info->number int 红包总数量
redpack_info->surplus_number int 剩余红包数量
receive_amount float 当前会员领取金额
receive_logs arr 领取记录
receive_logs->data->member->avatar str 会员头像
receive_logs->data->member->nickname str 会员昵称
receive_logs->data->created_at str 领取时间
receive_logs->data->amount float 领取金额