简要描述:

  • 每日红包领取页面接口

请求域名:

  • http://www.ew7.com

请求URL:

POST/route=plugin.red-packet.api.logs.receiveLogs

页面 receive_log 返回参数:

参数名 是否必须 类型 说明
amount_sum double 累计领取红包
amount double 红包额度
receive_amount double 领取额度
created_at string 领取时间

页面 member 返回参数:

参数名 是否必须 类型 说明
realname string 会员名称
avatar_image string 会员头像

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "receive_log": {
            "list": {
                "total": 3,
                "per_page": 10,
                "current_page": 1,
                "last_page": 1,
                "next_page_url": null,
                "prev_page_url": null,
                "from": 1,
                "to": 3,
                "data": [
                    {
                        "member_id": 24,
                        "amount": 200,
                        "receive_amount": 139,
                        "created_at": "2019-11-07 10:03:50"
                    },
                    {
                        "member_id": 24,
                        "amount": 200,
                        "receive_amount": 151,
                        "created_at": "2019-11-07 09:58:02"
                    },
                    {
                        "member_id": 24,
                        "amount": 1400,
                        "receive_amount": 1166,
                        "created_at": "2019-11-07 09:20:15"
                    }
                ]
            },
            "amount_sum": 1456
        },
        "member": {
            "uid": 24,
            "realname": "123",
            "nickname": "碳酸果汁",
            "avatar": "http://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132",
            "avatar_image": "https://wx.qlogo.cn/mmopen/FibYEcCAgGxYoG8wLnMicZJTbaANwJnuLyVx3iaoRMVspb0qLA7Q9QAYlJ8qsRHZtyRiaNsKxD29hD8WENKhw44eKjc1XHqMBwgs/132",
            "username": "碳酸果汁"
        },
        "pager": ""
    }
}