文档
测试

领券中心

POST
http://ct.daoben.ltd/api/coupon/send_list

请求参数

参数名
类型
描述
必填
send_type
int
示例:2------类型:2=用户抢券,3=积分兑换
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1652524375
必填
data
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
coupon_id
int
示例:5
必填
send_type
int
示例:1
必填
stock
int
示例:1000
必填
grab
int
示例:0------
必填
start_time
int
示例:1652522804
必填
end_time
int
示例:1656238004
必填
score
int
示例:0------兑换所需积分
必填
weigh
int
示例:1
必填
createtime
int
示例:1652522820
必填
updatetime
int
示例:1652522820
必填
coupon
object
数据字典
必填
id
int
示例:5
必填
name
string
示例:满减券测试------优惠券名称
必填
type
int
示例:2------优惠券类型:1=饮品券,2=满减券,3=霸王餐券
必填
enough
string
示例:10.00-----使用门槛,满多少减
必填
amount
string
示例:50.00-----优惠券额度
必填
expire_type
int
示例:1------到期类型:1=领取后N天过期,2=指定有效期
必填
expire_day
int
示例:100------有效天数
必填
begin_time
int
示例:1652511546------有效期开始时间
必填
end_time
int
示例:1652511546-------有效期结束时间
必填
description
string
示例:<p>1</p>------使用说明
必填
weigh
int
示例:5
必填
status
string
示例:normal
必填
createtime
int
示例:1652511563
必填
updatetime
int
示例:1652511563
必填