文档
测试

我的优惠券

POST
http://test.ywzyit.com/api.html

请求参数

参数名
类型
描述
必填
token
string
示例:49a5c578f6b2b1d801f3833d42a96171
必填
method
string
示例:coupon.usercoupon
必填
site_token
int
示例:123456
必填
page
int
示例:1
必填
display
string
no_used待使用,yes_used已使用,invalid已过期
可选

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
list
array
数据列表
必填
coupon_code
string
示例:HROD9MOWQM
必填
promotion_id
int
示例:55
必填
is_used
int
1未使用,2已使用,示例:1
必填
user_id
int
示例:4
必填
used_id
object
示例:null
必填
ctime
int
示例:1608023349
必填
utime
int
示例:1608023349
必填
end_time
int
示例:1609319349
必填
id
int
示例:55
必填
name
string
示例:新用户专用 满100元减8元
必填
status
int
1正常,2已过期,示例:1
必填
type
int
示例:2
必填
sort
int
示例:100
必填
exclusive
int
示例:1
必填
auto_receive
int
示例:1
必填
params
object
示例:null
必填
stime
string
开始时间,示例:2020-12-01
必填
etime
string
结束时间,示例:2020-12-30
必填
days
int
示例:15
必填
isdel
object
示例:null
必填
expression1
string
使用条件,示例:购买订单满100元 限 普通用户使用
必填
expression2
string
优惠,示例:订单减8元
必填
start_time
int
示例:1606752000
必填
count
int
示例:2
必填
page
string
示例:1
必填
limit
int
示例:10
必填
q_type
string
示例:all
必填