简要描述:
- 获取门店定金阶梯团列表
请求域名:
plugin.deposit-ladder.frontend.store.index.activities
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
store_id | 是 | int | 门店ID |
返回示例:
正确时返回:
{
"data": {
"current_page": 1,
"data": [
{
"id": 8,
"uniacid": 1,
"goods_id": 161,
"bind_goods_id": 77,
"goods_option_id": 0,
"goods_option_title": null,
"activity_name": "sdjfsdk",
"activity_start": 1638115200,
"activity_end": 1733500800,
"limit": 1,
"limit_total": 1,
"ladder_type": 0,
"activity_explain": "<p>2321312</p>",
"deposit": "1.00",
"agreement": 1,
"contract_id": 0,
"agreement_content": "2332",
"status": 0,
"fail_text": null,
"created_at": "2021-12-30 14:55:29",
"updated_at": "2022-01-12 14:47:25",
"deleted_at": null,
"theme_color": "",
"ranking_list": 0,
"status_name": "进行中",
"order_count": 2,
"activity_start_str": "2021-11-29 00:00:00",
"activity_end_str": "2024-12-07 00:00:00",
"goods": {
"id": 161,
"stock": 9999999,
"show_sales": 0,
"real_sales": 0,
"price": "1.00",
"thumb": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg",
"thumb_src": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg"
},
"has_one_polymorphism": {
"id": 6,
"uniacid": 1,
"activity_id": 8,
"polymorphism": "store_cashier",
"polymorphism_id": 5,
"status": 1,
"created_at": "2021-12-30 14:55:29",
"updated_at": "2021-12-30 18:53:14",
"polymorphism_name": "门店名称: asdasd123",
"polymorphism_remark": "门店ID: 5"
}
}
],
"first_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost:8788/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 阶梯团活动ID |
activity_name | string | 活动名称 |
deposit | int | 定金金额 |
activity_start_str | date | 活动开始时间 |
activity_end_str | date | 活动结束时间 |
order_count | date | 已下定人数 |
goods.id | int | 商品id |
goods.price | date | 商品价格 |