简要描述:
- 红包列表
请求URL:
GET/plugin.love-speed-pool.frontend.redpack.index
返回示例:
{
"result": 1,
"msg": "ok",
"data": {
"list": {
"current_page": 1,
"data": [
{
"id": 3,
"uniacid": 5,
"uid": 698211,
"source_class": "Yunshop\\LoveSpeedPool\\model\\PointRecord",
"source_type": 1,
"source_id": 21,
"value": "15.04",
"status": 0,
"ad_link": "www.baidu.com",
"created_at": "2022-05-16 11:25:17",
"updated_at": "2022-05-16 11:25:17",
"deleted_at": null,
"type_name": "积分释放红包"
},
{
"id": 20,
"uniacid": 5,
"uid": 698211,
"source_class": "Yunshop\\LoveSpeedPool\\model\\ActivateRecord",
"source_type": 2,
"source_id": 11,
"value": "564.80",
"status": 0,
"ad_link": "www.baidu.com",
"created_at": "2022-05-16 11:51:37",
"updated_at": "2022-05-16 11:51:37",
"deleted_at": null,
"type_name": "冻结爱心值激活红包"
}
],
"first_page_url": "http://mdzz.com/admin/shop?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://mdzz.com/admin/shop?page=1",
"next_page_url": null,
"path": "http://mdzz.com/admin/shop",
"per_page": 15,
"prev_page_url": null,
"to": 6,
"total": 6
}
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data[] | arr | 返回信息 |
data>>type_name | str | 红包类型名称 |
data>>created_at | str | 获取红包时间 |
data>>id | int | 红包id, 查看详情使用 |