简要描述:
- 推广页面-积分活动奖励记录接口
请求域名:
- http://xx.com
请求URL:
POST/plugin.point-activity.Frontend.Modules.Activity.Controllers.point-activity-award-log.get-point-activity-award-log
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
member_id | int | 会员ID |
返回示例:
正确时返回:
{"result":1,"msg":"ok",
"data":{"list":{"total":7,"per_page":10,"current_page":1,"last_page":1,"next_page_url":null,"prev_page_url":null,"from":1,"to":7,
"data":[{"id":15,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":"30.00","created_at":"2018-11-24 19:04:32","updated_at":null,"deleted_at":null},{"id":14,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 19:00:37","updated_at":null,"deleted_at":null},{"id":13,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 18:54:20","updated_at":null,"deleted_at":null},{"id":12,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 18:50:59","updated_at":null,"deleted_at":null},{"id":11,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 18:47:29","updated_at":null,"deleted_at":null},{"id":10,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 18:43:19","updated_at":null,"deleted_at":null},{"id":9,"uniacid":8,"member_id":2590,"give_member_id":2639,"activity_id":5,"point":30,"money":null,"created_at":"2018-11-24 18:28:16","updated_at":null,"deleted_at":null}]
}}}
错误时返回:
{
result: 0,
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
total | int | 数据总个数 |
per_page | int | 每页数据单位 |
current_page | int | 当前页面ID |
last_page | int | 最后一页ID |
返回参数 data.records说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 领取记录ID |
member_id | int | 会员ID |
give_member_id | int | 使用者ID |
activity_id | int | 活动ID |
point | int | 使用积分 |
money | int | 获得金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述