简要描述:
搜索门店定金阶梯团
请求域名:
- http://xx.com
请求URL:
plugin.store-decorate.admin.decorate-common.search-deposit-ladder
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
store_id | 是 | int | 门店ID |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
list: [
{
id: 50,
uniacid: 1,
goods_id: 92824,
bind_goods_id: 92785,
goods_option_id: 0,
goods_option_title: null,
activity_name: "测试",
activity_start: 1672675200,
activity_end: 1673452800,
limit: 1,
limit_total: 2,
ladder_type: 0,
activity_explain: "<p>1231</p>",
deposit: "2.00",
agreement: 1,
contract_id: 0,
agreement_content: "123",
status: 0,
fail_text: null,
created_at: "2023-01-05 09:45:44",
updated_at: "2023-01-05 09:45:44",
deleted_at: null,
theme_color: "",
ranking_list: 0,
status_name: "进行中",
activity_start_str: "2023-01-03 00:00:00",
activity_end_str: "2023-01-12 00:00:00",
goods: {
id: 92824,
stock: 9999999,
show_sales: 0,
real_sales: 0,
thumb_src: ""
}
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "暂无数据",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | 活动ID | |
goods_id | int | 商品ID | |
bind_goods_id | int | 绑定商品ID | |
goods_option_id | int | 绑定商品规格ID | |
goods_option_title | string | 绑定商品规格标题 | |
activity_name | string | 活动名称 | |
activity_start | int | 活动开始时间 | |
activity_end | int | 活动结束时间 | |
limit | int | 每单最多购买数量 | |
limit_total | int | 每个会员最多购买数量 | |
ladder_type | int | 梯度判断类别,0按成交人数,1按销售数量 | |
activity_explain | string | 活动说明 | |
deposit | float | 活动定金 | |
agreement | int | 定金协议:0电子合同,1弹窗确认 | |
contract_id | int | 选用的电子合同ID | |
agreement_content | string | 弹窗协议内容 | |
status | int | 活动状态:0进行中,1已失效,2最终订单生成失败,3已结束 | |
status_name | string | 活动状态中文说明 | |
theme_color | string | 活动主题色 |
备注:
- 更多返回错误代码请看首页的错误代码描述