文档
测试

我的优惠券

POST
https://group.zapeki.com/index.php?s=/api/user.Coupon/lists

请求参数

参数名
类型
描述
必填
s
string
示例:/api/user.Coupon/lists
必填
token
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
user_coupon_id
int
示例:2
必填
coupon_id
int
示例:2
必填
name
string
示例:999
必填
color
object
数据字典
必填
text
string
示例:red
必填
value
int
示例:20
必填
coupon_type
object
数据字典
必填
text
string
示例:折扣券
必填
value
int
示例:20
必填
reduce_price
string
示例:0.00
必填
discount
float
示例:9.5
必填
min_price
string
示例:200.00
必填
expire_type
int
示例:10
必填
expire_day
int
示例:3
必填
start_time
object
数据字典
必填
text
string
示例:2020/06/03
必填
value
int
示例:1591147861
必填
end_time
object
数据字典
必填
text
string
示例:2020/06/06
必填
value
int
示例:1591407061
必填
apply_range
int
示例:10
必填
is_expire
int
示例:1
必填
is_use
int
示例:0
必填
user_id
int
示例:17
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-06-03 09:31:01
必填
update_time
string
示例:2020-06-08 09:14:44
必填
state
object
数据字典
必填
text
string
示例:已过期
必填
value
int
示例:0
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
user_coupon_id
int
示例:2
必填
coupon_id
int
示例:2
必填
name
string
示例:999
必填
color
object
数据字典
必填
text
string
示例:red
必填
value
int
示例:20
必填
coupon_type
object
数据字典
必填
text
string
示例:折扣券
必填
value
int
示例:20
必填
reduce_price
string
示例:0.00
必填
discount
float
示例:9.5
必填
min_price
string
示例:2000.00
必填
expire_type
int
示例:10
必填
expire_day
int
示例:3
必填
start_time
object
数据字典
必填
text
string
示例:2020/06/03
必填
value
int
示例:1591147861
必填
end_time
object
数据字典
必填
text
string
示例:2020/06/06
必填
value
int
示例:1591407061
必填
apply_range
int
示例:10
必填
is_expire
int
示例:1
必填
is_use
int
示例:0
必填
user_id
int
示例:17
必填
shop_id
int
示例:2
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-06-03 09:31:01
必填
update_time
string
示例:2020-06-08 09:14:44
必填
state
object
数据字典
必填
text
string
示例:已过期
必填
value
int
示例:0
必填