简要描述:

  • 好友裂变前端-奖励记录

请求域名:

  • http://xx.com

请求URL:

plugin.customer-increase.frontend.activity.activityRewardList

参数:

参数名 是否必须 类型 说明
page int 页数,默认1
state int 1未发放 2已发放 3已失效

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "reward_type": "love",
                "created_at": "2021-12-14 14:31:09",
                "state": 1,
                "reward_desc": "获得5爱心值",
                "state_desc": "待发放"
            },
            {
                "reward_type": "point",
                "created_at": "2021-12-14 14:31:09",
                "state": 1,
                "reward_desc": "获得5积分",
                "state_desc": "待发放"
            },
            {
                "reward_type": "integral",
                "created_at": "2021-12-14 14:31:09",
                "state": 1,
                "reward_desc": "获得5消费积分",
                "state_desc": "待发放"
            },
            {
                "reward_type": "balance",
                "created_at": "2021-12-14 14:31:09",
                "state": 1,
                "reward_desc": "获得5余额",
                "state_desc": "待发放"
            },
            {
                "reward_type": "coupon",
                "created_at": "2021-12-14 14:31:09",
                "state": 1,
                "reward_desc": "获得2张优惠券:接龙用优惠券",
                "state_desc": "待发放"
            }
        ],
        "first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 5,
        "total": 5
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.data[].reward_type string 奖励类型 coupon优惠券 balance余额 point积分 integral消费积分 love爱心值
data.data[].reward_desc string 奖励描述
data.data[].created_at string 奖励生成时间
data.data[].state_desc string 奖励状态描述
data.data[].state int 0活动结束后发放 1代发放 2已发放 3已失效