用户优惠券列表
GET
/api/coupon/userCouponLists
请求参数
Query 参数
goods_id
integer
商品ID
status
integer
可选
Header 参数
token
string
必需
默认值:
{{'38a327e6732714e2a48e0b5d3038b2cc'}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/coupon/userCouponLists?goods_id=&status=' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {7}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 1,
"coupon_id": 3,
"name": "全场优惠10元券",
"money": "10.00",
"goods": [
{
"id": 32,
"name": "保障商品"
},
{
"id": 34,
"name": "品牌商品123"
}
],
"coupon_describe": "无门槛",
"use_time_desc": "领券当日起7天内可用"
}
],
"count": 1,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2023-02-23 06:34:56