文档
测试

优惠券列表

GET
http://www.mall.me/index.php?s=%2Fapi%2FCoupon%2Flists

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
coupon_id
int
示例:1
必填
name
string
示例:满500减200
必填
color
object
数据字典
必填
text
string
示例:red
必填
value
int
示例:20
必填
coupon_type
object
数据字典
必填
text
string
示例:满减券
必填
value
int
示例:10
必填
reduce_price
string
示例:200.00
必填
discount
int
示例:0
必填
min_price
string
示例:500.00
必填
expire_type
int
示例:10
必填
expire_day
int
示例:3
必填
start_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:2020
必填
end_time
object
数据字典
必填
text
string
示例:1970/01/01
必填
value
int
示例:2020
必填
apply_range
int
示例:10
必填
total_num
int
示例:3
必填
sort
int
示例:100
必填
wxapp_id
int
示例:10001
必填
state
object
数据字典
必填
text
string
示例:
必填
value
int
示例:1
必填