简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.check-in-rebate.frontend.participate-in.check-in-log

参数:

参数名 是否必须 类型 说明
admin_type int 传1获取管理员数据,传0或者不穿则获取普通会员数据
id int 参与记录ID,不传,获取全部打卡记录,传则只获取当前参与记录的打卡记录

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 9,
                "uniacid": 1,
                "activity_id": 1,
                "participate_in_id": 1,
                "member_id": 0,
                "image_list": null,
                "detail": null,
                "check_in_type": 1,
                "status": 1,
                "created_at": "2024-10-22 14:43:19",
                "updated_at": "2024-10-22 14:43:19",
                "is_hide": 0,
                "is_top": 0,
                "status_name": "已打卡",
                "type_name": "打卡"
            },
            {
                "id": 8,
                "uniacid": 1,
                "activity_id": 1,
                "participate_in_id": 1,
                "member_id": 0,
                "image_list": null,
                "detail": null,
                "check_in_type": 1,
                "status": 1,
                "created_at": "2024-10-22 14:43:19",
                "updated_at": "2024-10-22 14:43:19",
                "is_hide": 0,
                "is_top": 0,
                "status_name": "已打卡",
                "type_name": "打卡"
            },
            {
                "id": 7,
                "uniacid": 1,
                "activity_id": 1,
                "participate_in_id": 1,
                "member_id": 0,
                "image_list": null,
                "detail": null,
                "check_in_type": 1,
                "status": 1,
                "created_at": "2024-10-22 14:43:19",
                "updated_at": "2024-10-22 14:43:19",
                "is_hide": 0,
                "is_top": 0,
                "status_name": "已打卡",
                "type_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": 3,
        "total": 3
    }
}

返回参数说明:

参数名 类型 说明
id int 打卡记录ID
    |id |int|打卡记录ID|
    |activity_id |int|活动ID|
    |participate_in_id |int|参与活动ID|
    |member_id |int|会员ID|
    |image_list |array|打卡图片|
    |detail |string|打卡详情|
    |check_in_type |int|打卡类型,1为打卡,2为补卡|
    |status |int|打卡状态,1为已打卡,2为未打卡, 此时需要补卡|
    |created_at |string|创建时间|
    |updated_at |string|更新时间|
    |is_hide |int|是否隐藏,1为隐藏,0为显示|
    |is_top |int|是否置顶,1为置顶,0为不置顶|
    |status_name |string|打卡状态名称|
    |type_name |string|打卡类型名称|