文档
测试

我的优惠券

POST
http://www.mall.me/index.php?s=%2Fapi%2Fuser.Coupon%2Flists

请求参数

参数名
类型
描述
必填
s
string
示例:/api/user.Coupon/lists
必填
token
string
示例:qz
必填
data_type
string
all=全部 not_use=不可用 is_use=可用 is_expire=过期
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
user_coupon_id
int
示例:1
必填
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
示例:2020/10/13
必填
value
int
示例:1602572783
必填
end_time
object
数据字典
必填
text
string
示例:2020/10/16
必填
value
int
示例:1602831983
必填
apply_range
int
示例:10
必填
is_expire
int
示例:0
必填
is_use
int
示例:0
必填
user_id
int
示例:34
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-10-13 15:06:23
必填
update_time
string
示例:2020-10-13 15:06:23
必填
state
object
数据字典
必填
text
string
示例:
必填
value
int
示例:1
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
user_coupon_id
int
示例:1
必填
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
示例:2020/10/13
必填
value
int
示例:1602572783
必填
end_time
object
数据字典
必填
text
string
示例:2020/10/16
必填
value
int
示例:1602831983
必填
apply_range
int
示例:10
必填
is_expire
int
示例:0
必填
is_use
int
示例:0
必填
user_id
int
示例:34
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-10-13 15:06:23
必填
update_time
string
示例:2020-10-13 15:06:23
必填
state
object
数据字典
必填
text
string
示例:
必填
value
int
示例:1
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
user_coupon_id
int
示例:1
必填
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
示例:2020/10/13
必填
value
int
示例:1602572783
必填
end_time
object
数据字典
必填
text
string
示例:2020/10/16
必填
value
int
示例:1602831983
必填
apply_range
int
示例:10
必填
is_expire
int
示例:0
必填
is_use
int
示例:1
必填
user_id
int
示例:34
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-10-13 15:06:23
必填
update_time
string
示例:2020-10-13 15:06:23
必填
state
object
数据字典
必填
text
string
示例:已使用
必填
value
int
示例:0
必填