文档
测试

优惠券列表

GET
https://group.zapeki.com/index.php?s=%2Fapi%2FCoupon%2Flists

请求参数

参数名
类型
描述
必填
s
string
示例:/api/Coupon/lists
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
coupon_id
int
示例:11
必填
name
string
示例:9折
必填
color
object
数据字典
必填
text
string
示例:blue
必填
value
int
示例:10
必填
coupon_type
object
数据字典
必填
text
string
示例:折扣券
必填
value
int
示例:20
必填
reduce_price
string
示例:0.00
必填
discount
int
示例:9
必填
min_price
string
示例:100.00
必填
expire_type
int
示例:10
必填
expire_day
int
示例:3
必填
start_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:0
必填
end_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:0
必填
apply_range
int
示例:10
必填
total_num
int
示例:5
必填
sort
int
示例:100
必填
wxapp_id
int
示例:10001
必填
shop_id
int
示例:5
必填
state
object
数据字典
必填
text
string
示例:
必填
value
int
示例:1
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
coupon_id
int
示例:12
必填
name
string
示例:满50减10
必填
color
object
数据字典
必填
text
string
示例:blue
必填
value
int
示例:10
必填
coupon_type
object
数据字典
必填
text
string
示例:满减券
必填
value
int
示例:10
必填
reduce_price
string
示例:10.00
必填
discount
int
示例:0
必填
min_price
string
示例:50.00
必填
expire_type
int
示例:10
必填
expire_day
int
示例:100
必填
start_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:0
必填
end_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:0
必填
apply_range
int
示例:10
必填
total_num
int
示例:-1
必填
sort
int
示例:100
必填
wxapp_id
int
示例:10001
必填
shop_id
int
示例:4
必填
state
object
数据字典
必填
text
string
示例:
必填
value
int
示例:1
必填