简要描述:
- 店铺优惠券列表
请求URL:
POST/wapapi/addons/execute/addons/coupontype/controller/coupontype/action/couponCentre
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page_index | 是 | int | 当前页数 |
page_size | 否 | int | 每页数目 |
search_text | no | string | 搜索关键字 |
返回示例:
正确时返回:
{
"code": 1,
"data": {
"list": [
{
"coupon_type_id": 92,// 优惠券id
"coupon_name": "11",// 优惠券名称
"shop_range": "全平台可用", // 店铺使用范围
"shop_logo":'',//店铺logo
"goods_range": "部分商品可用", // 商品使用范围
"coupon_genre": 1, // 优惠券类型,1:无门槛,2:满减,3:折扣
"at_least": "0.00", // 满减、折扣类型优惠券的门槛要求
"money": "1.00", // 无门槛、满减类型优惠券优惠金额
"count": 1, // 发放数目,0无限制
"max_fetch": 1, // 每人最大领取数目
"discount": "9.5", // 折扣类型优惠券折扣
"start_time": 1548777600, // 可使用开始时间
"end_time": 1548863999, // 可使用结束时间
"receive_times": 1// 已领取数目
}
],
"total_count": 1,
"page_count": 1
}
}
参数名 | 类型 | 说明 |
---|---|---|
coupon_type_list | array | 优惠券列表 |
coupon_type_id | int | 优惠券id |
coupon_name | string | 优惠券名称 |
coupon_genre | int | 优惠券类型,1/2/3,//无门槛/金额券/折扣券 |
at_least | float | 满多少可用 |
money | float | 1,2类型的优惠金额 |
discount | float | 0.00-10.00折扣 |
start_time | int | 优惠券有效起始时间 |
end_time | int | 优惠券有效结束时间 |