- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
卡券商品列表
GET
/api/gift_card/list
GiftCard
请求参数
Query 参数
cid
integer
可选
i
string
可选
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
array [object {19}] | null
可选
id
string <uuid>
可选
name
string | null
商品名称
info
string | null
商品详情
scope
string | null
适用范围
stockNum
integer <int32>
库存数量
imageUrl
string | null
图片地址
sellPrice
number <double>
售价
originalPrice
number <double>
原价
costPrice
number <double>
成本价
createTime
string <date-time>
创建时间
state
integer <int32>
状态
isEnabled
boolean
是否启用
logoUrl
string | null
LOGO地址
showOrder
integer <int32>
显示顺序
cardType
enum<integer> <int32>
可选
0:Recharge,充值;
1:CardPassword,卡密;
2:Entity,实物;
枚举值:
012
cardTypeName
string | null
卡类型
needRemark
boolean
可选
remark
string | null
可选
autoBuy
boolean
可选
示例
{
"code": 0,
"message": "string",
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"info": "string",
"scope": "string",
"stockNum": 0,
"imageUrl": "string",
"sellPrice": 0,
"originalPrice": 0,
"costPrice": 0,
"createTime": "2019-08-24T14:15:22Z",
"state": 0,
"isEnabled": true,
"logoUrl": "string",
"showOrder": 0,
"cardType": 0,
"cardTypeName": "string",
"needRemark": true,
"remark": "string",
"autoBuy": true
}
]
}
修改于 2024-10-30 03:47:05