文档
测试

3-3-0~ 3-3-2 获取用户的优惠劵

GET
api/userInfo/getConponList

接口描述

庄泽正 获取用户的优惠劵

请求头

参数名
类型
描述
必填
openId
必填
cityId
必填

请求参数

参数名
类型
描述
必填
page
可不传 size不为空必传
可选
size
可不传 page不为空必传
可选
canUse
0不可 1可使用
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:SUCCESS
必填
data
object
数据
必填
total
int
示例:3
必填
list
array
数据集合
必填
userCouponId
int
示例:30
必填
couponName
string
优惠券名称
必填
couponType
int
优惠券类型1:现金抵用券 2:满减券 3:折扣券
必填
couopnUseLimit
int
优惠券使用限制 1:全部商品 2:指定品类 3:指定商品
必填
cuponStart
int
金额满足条件
必填
couponVal
int
折扣/满减值/抵用值
必填
startTime
string
优惠券开始时间
必填
endTime
string
优惠券结束时间
必填
userId
int
用户id
必填
useState
int
0:待使用 1:已使用 2:已过期
必填
couponId
int
优惠券信息id(用户防用户重复领取)
必填
couponFrom
int
优惠券来源 1:新人专享 2:评价商品 3:自己领取
必填
columnId
object
指定的类别id
必填
productId
object
指定的商品id
必填
pageNum
int
示例:1
必填
pageSize
int
示例:1
必填
size
int
示例:1
必填
startRow
int
示例:1
必填
endRow
int
示例:1
必填
pages
int
示例:3
必填
prePage
int
示例:0
必填
nextPage
int
示例:2
必填
isFirstPage
boolean
示例:true
必填
isLastPage
boolean
示例:false
必填
hasPreviousPage
boolean
示例:false
必填
hasNextPage
boolean
示例:true
必填
navigatePages
int
示例:8
必填
navigatepageNums
array
数据列表
必填
navigateFirstPage
int
示例:1
必填
navigateLastPage
int
示例:3
必填
firstPage
int
示例:1
必填
lastPage
int
示例:3
必填
useStr
string
可使用的商品或品类名称
必填

说明 / 示例

![image.png](https://cos.easydoc.net/46957777/files/kbadi1sw.png)