文档
测试

新人优惠券列表

POST
https://ys.daoben.ltd/api/coupon/send_list

请求参数

参数名
类型
描述
必填
token
string
示例:39de4094-e037-44aa-8341-556ba2c23a94
必填
send_type
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1656082169
必填
data
array
数据列表
必填
id
int
示例:20
必填
coupon_id
int
示例:23------优惠券ID
必填
send_type
int
示例:1------发放类型:新人优惠券
必填
stock
int
示例:10------库存
必填
grab
int
示例:0
必填
surplus
int
示例:0
必填
start_time
int
示例:1654012800------开始发放时间
必填
over_time
int
示例:1663171200------结束发放时间
必填
score
int
示例:0
必填
num
int
示例:1------发放数量
必填
status
string
示例:normal------状态
必填
weigh
int
示例:20------权重
必填
createtime
int
示例:1655281015
必填
updatetime
int
示例:1656082142
必填
coupon
object
数据字典
必填
id
int
示例:23
必填
name
string
示例:12------优惠券名称
必填
mold
int
示例:1------优惠券类型:1=满减券
必填
enough
string
示例:10.00------消费门槛
必填
amount
string
示例:2.00------抵扣金额
必填
expire_type
int
示例:1------到期类型:1=领取后N天过期,2=指定有效期
必填
expire_day
int
示例:10------有效天数
必填
begin_time
object
示例:null-----有效期开始时间
必填
end_time
object
示例:null-----有效期结束时间
必填
description
string
示例:-----使用说明
必填
status
string
示例:normal-----
必填
createtime
int
示例:1656081811
必填
updatetime
int
示例:1656081811
必填