优惠券列表
接口地址:/coupon/list
请求方式 get
参数:
act_title: 活动标题(搜索字段,可不传)
coupon_title: 礼券名称(搜索字段,可不传)
phone: 联系方式(搜索字段,可不传)
status: 状态(传99代表全部)
page: 页码(初始不传或者传0)
返回格式:
注:status 状态 0-未使用,1-使用中,2-已使用, 3-失效(即作废), 4-已转赠
{
"code":1,
"data":{
"coupon_list":[
{
"id":1,
"title":"礼券标题",
"validity;":"2018-05-04 00:00:00 至 2018-05-05 00:00:00",
"coupon_bag_id": 1,
"act_id":1,
"act_title": "活动标题",
"user":"钟倾,13588358790",
"create_time": "2018-08-09 20:45:00",
"status":1,
"cancel_reason": "失效原因"
},
{
"id":2,
"title":"礼券标题2",
"validity;":"2018-05-04 00:00:00 至 2018-05-05 00:00:00",
"coupon_bag_id": 2,
"act_id":2,
"act_title": "活动标题2",
"user":"钟倾,13588358790",
"create_time": "2018-08-09 20:45:00",
"status":2,
"cancel_reason": "失效原因"
}
],
"page":1,
"rs_count": 200
},
"msg":"success"
}Last updated
Was this helpful?