简要描述:

-奖励记录

请求域名:

  • http://xx.com

请求URL:

plugin.task-package.frontend.daily.reward-record

请求参数说明:

参数名 类型 是否必需 说明
page int 第x页
record_id int 任务记录id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "record_id": 1,
                "bag_id": 1,
                "day": "2022-12-19",
                "share": 4,
                "video": 7,
                "article": 9,
                "status": 1,
                "reward": 0,
                "created_at": null,
                "updated_at": null,
                "uniacid": 15
            }
        ],
        "first_page_url": "http://119.91.205.224//addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://119.91.205.224//addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://119.91.205.224//addons/yun_shop/api.php",
        "per_page": 10,
        "prev_page_url": null,
        "to": 1,
        "total": 1,
        "info": null
    }
}

错误时返回:(#如返回result=0,并且data中带task_package_invite_code=1,跳转到填写邀请码页面;data中带task_package_real_name_auth=1,跳转到填写实名认证页面)

{
    "result": 0,
    "msg": "请先填写邀请码",
    "data": {
		"task_package_invite_code":1
	}
}
{
    "result": 0,
    "msg": "请先实名认证",
    "data": {
		"task_package_real_name_auth":1
	}
}
{
    "result": 0,
    "msg": "请登录",
    "data": []
}

返回参数说明:

参数名 类型 说明
id int 记录ID
day string 日期
reward float 奖励爱心值