简要描述:

  • 额外红包记录

请求域名:

  • http://www.xxx.com

请求URL:

POST/route=plugin.red-packet.api.red-packet-logs.get-extra-records

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取记录成功",
    "data": {
        "acquire_num": 0,
        "data": {
            "current_page": 1,
            "data": [
                {
                    "id": 17,
                    "type": 2,
                    "num": "-1",//变动次数
                    "created_at": "2024-03-15 10:21:01",//时间
                    "type_name": "领取"//类型
                },
                {
                    "id": 16,
                    "type": 2,
                    "num": "-1",
                    "created_at": "2024-03-15 10:13:40",
                    "type_name": "领取"
                },
                {
                    "id": 15,
                    "type": 2,
                    "num": "-1",
                    "created_at": "2024-03-15 10:12:58",
                    "type_name": "领取"
                },
                {
                    "id": 14,
                    "type": 2,
                    "num": "-1",
                    "created_at": "2024-03-15 10:12:40",
                    "type_name": "领取"
                },
                {
                    "id": 13,
                    "type": 2,
                    "num": "-1",
                    "created_at": "2024-03-15 10:09:57",
                    "type_name": "领取"
                },
                {
                    "id": 12,
                    "type": 2,
                    "num": "-1",
                    "created_at": "2024-03-15 09:54:14",
                    "type_name": "领取"
                },
                {
                    "id": 7,
                    "type": 1,
                    "num": "+2",
                    "created_at": "2024-03-14 15:07:13",
                    "type_name": "赠送"
                },
                {
                    "id": 9,
                    "type": 1,
                    "num": "+4",
                    "created_at": "2024-03-14 15:07:13",
                    "type_name": "赠送"
                }
            ],
            "first_page_url": "http://dev.yz/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://dev.yz/addons/yun_shop/api.php?page=1",
            "next_page_url": null,
            "path": "http://dev.yz/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": 8,
            "total": 8
        }
    }
}