简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.check-in-rebate.frontend.participate-in.get-participateIn-list

参数:

参数名 是否必须 类型 说明
admin_type int 1表示管理员数据,2是普通会员数据

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "activity_id": 1,
                "created_at": "2024-10-01 00:00:00",
                "activity": {
                    "id": 1,
                    "title": "a",
                    "start_time": "2024-10-01 00:00:00",
                    "end_time": "2028-10-03 00:00:00",
                    "status": 2,
                    "status_name": "进行中"
                }
            }
        ],
        "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

返回参数说明:

参数名 类型 说明
ID int 参与id
    |ID|int|参与id|
    |activity_id|int|活动id|
    |created_at|string|参与时间|
    |activity|object|活动信息|
    |activity.start_time|string|活动开始时间|
    |activity.end_time|string|活动结束时间|
    |activity.status|int|活动状态|
    |activity.status_name|string|活动状态名称|