文档
测试

优惠券列表(下单也可用)

POST
http://beidi.chuanghu.com/xcx/coupon/coupon

请求参数

参数名
类型
描述
必填
skey
int
示例:123213
必填
type
int
示例:1 可用卷 2 不可用卷
必填
memberid
int
员工端查看用户优惠券需要用户id
可选
order_type
int
订单类型 1 预约订单 2 立即下单,下单页面获取优惠券列表时需要
可选

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:卷ID
必填
no
string
示例:编号
必填
title
string
示例:标题
必填
cost
int
示例:需消费金额
必填
amount
int
示例:抵扣金额
必填
timefrom
string
示例:开始时间
必填
timeto
string
示例:结束时间
必填
isuse
int
示例:1 通用卷 2商品卷 3 分类卷
必填