简要描述:
- 活动列表 有分页
请求URL:
GET/plugin.redpack.frontend.activity.getActivityList
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"activitys": {
"total": 1,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 1,
"data": [{
"id": "1",
"top_img": "http:\/\/yunzhong.cc:8888\/attachment\/image\/d71f41cbee6e9a05b916f2507da32bf8.png",
"activity_name": "测试活动1",
"countdown_time": [1579359182, 1579888888],
"end_time": "2020-01-25 02:01:28",
"withdraw_code_name": "爱心值"
}]
}
}
}
没有数据时返回:
{
"result": 0,
"msg": "暂无其他挑战活动!",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
top_img | str | 品牌图片 |
activity_name | str | 品牌名称 |
end_time | str | 结束时间 |