文档
测试

优惠券列表

GET
{{host}}/api/ShopCoupon/list?page=1&limit=20&use_status=0

请求头

参数名
类型
描述
必填
token
string
示例:_lylPenWGw1639379451a9owC395mM397026
必填

请求参数

参数名
类型
描述
必填
page
int
示例:1
必填
limit
int
示例:20
必填
use_status
int
示例:0
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
total
int
示例:12
必填
per_page
int
示例:20
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:12
必填
code
string
示例:13588772
必填
name
string
示例:优惠券
必填
use_type
int
示例:0
必填
coupon_type
int
示例:2
必填
money
string
示例:30.00
必填
discount
string
示例:8.00
必填
condition_type
int
示例:1
必填
condition_money
string
示例:200.00
必填
use_time_end
int
示例:1640880000
必填
use_status
int
示例:0
必填
success
boolean
示例:true
必填
code
int
示例:0
必填