简要描述:
定金阶梯团活动列表
请求URL:
plugin.decorate.admin.decorate-common.get-deposit-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
search['activity_name'] | 否 | string | 活动名 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 2,
"uniacid": 1,
"goods_id": 2765,
"bind_goods_id": 110,
"goods_option_id": 0,
"goods_option_title": null,
"activity_name": "123123",
"activity_start": 1625129180,
"activity_end": 1627660800,
"limit": 10,
"limit_total": 10,
"ladder_type": 0,
"activity_explain": "<p>123</p>",
"deposit": "1.00",
"agreement": 1,
"contract_id": 0,
"agreement_content": "123",
"status": 0,
"fail_text": null,
"created_at": "2021-07-01 16:47:17",
"updated_at": "2021-07-01 16:47:17",
"deleted_at": null,
"theme_color": "#918F35",
"ranking_list": 1,
"status_name": "进行中",
"activity_start_str": "2021-07-01 16:46:20",
"activity_end_str": "2021-07-31 00:00:00",
"goods": {
"id": 2765,
"stock": 9999999,
"show_sales": 0,
"real_sales": 0,
"thumb_src": ""
}
},
{
"id": 1,
"uniacid": 1,
"goods_id": 2764,
"bind_goods_id": 110,
"goods_option_id": 0,
"goods_option_title": null,
"activity_name": "123123",
"activity_start": 1625129180,
"activity_end": 1627660800,
"limit": 10,
"limit_total": 10,
"ladder_type": 0,
"activity_explain": "<p>123</p>",
"deposit": "100.00",
"agreement": 1,
"contract_id": 0,
"agreement_content": "123",
"status": 0,
"fail_text": null,
"created_at": "2021-07-01 16:47:05",
"updated_at": "2021-07-01 16:47:05",
"deleted_at": null,
"theme_color": "#918F35",
"ranking_list": 1,
"status_name": "进行中",
"activity_start_str": "2021-07-01 16:46:20",
"activity_end_str": "2021-07-31 00:00:00",
"goods": null
}
],
"first_page_url": "http://www.yzdev8.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://www.yzdev8.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://www.yzdev8.com/addons/yun_shop/api.php",
"per_page": 20,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
错误时返回:
{
"result": 0,
"msg": "暂无数据",
"data": []
}
data[data]返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | id |
status | string | 活动状态:0进行中,1已失效,2最终订单生成失败,3已结束 |
activity_name | string | 活动名称 |
activity_start | string | 活动开始时间 |
activity_end | int | 活动结束时间 |
备注:
- 更多返回错误代码请看首页的错误代码描述