文档
测试

优惠券列表

GET
http://192.168.8.12:2020/web/coupon/list.php

接口描述

优惠券列表

请求参数

参数名
类型
描述
必填
status
String
优惠券状态(no_use、has_use、expired、deleted)
必填
pageSize
long
每页记录
必填
currPage
long
当前页
必填
sort
String
分页排序
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
code
int
示例:200
必填
msg
string
示例:查询成功!
必填
data
object
数据字典
必填
pagerSpec
object
数据字典
必填
currentPage
int
示例:1
必填
totalItems
int
示例:1
必填
offset
int
示例:0
必填
perPageNum
int
示例:20
必填
totalPage
int
示例:1
必填
order
array
数据列表
必填
field
string
示例:id
必填
drection
string
示例:desc
必填
content
array
优惠券列表
必填
id
int
示例:6
必填
receiveWay
string
示例:page_receive
必填
subReceiveWay
object
示例:null
必填
receiveTime
int
示例:1590128995893
必填
status
string
示例:no_use
必填
usedOrderId
int
示例:0
必填
receiveUserId
int
示例:62
必填
batchId
int
示例:0
必填
websiteId
int
示例:12
必填
loginName
string
示例:18588960294
必填
couponId
int
示例:4
必填
couponCode
string
示例:526230242405991
必填
receiveWayText
object
示例:null
必填
objectId
int
示例:0
必填
ext
object
示例:null
必填
type
string
示例:discount_coupons
必填
category
string
示例:product_pool
必填
categoryObjectId
int
示例:2
必填
showProductImage
string
示例:
必填
name
string
示例:优惠券测试
必填
discount
float
示例:0.5
必填
effectiveStartTime
int
示例:1590076800000
必填
effectiveEndTime
int
示例:1592841599000
必填
maxReduce
int
示例:10
必填
useRule
string
示例:侧是是是所所所所所
必填
remark
string
示例:111111111111111111111111111111
必填
couponKey
string
示例:Y526904033327337
必填
websiteName
string
示例:新版积分测试网站
必填
websiteType
string
示例:integral
必填
orderKey
object
示例:null
必填
difference
int
示例:28
必填
currentPage
int
示例:1
必填
perPageSize
int
示例:20
必填
totalItems
int
示例:1
必填