- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
卡券商品按类别列表(共二级分类)
GET
/api/gift_card/list_by_cat
请求参数
Query 参数
cid
number
一级分类id
i
boolean
可选
返回响应
🟢200成功
application/json
Body
code
integer
code
message
string
message
data
object (GiftCardCategoryDto2.0)
可选
id
integer
类别id
pid
integer
父类名称
name
string
类别名称
info
string
详情
stockNum
integer
库存数量
imageUrl
string
图片地址
categoryLevel
integer
大类Id
createTime
string
创建时间
state
integer
状态
isEnabled
boolean
是否启用
logoUrl
string
LOGO地址
showOrder
integer
显示顺序
hideInApple
boolean
必需
childs
array[string]
子类别
giftCards
array [object {29}]
卡券产品类别
示例
{
"code": 0,
"message": "string",
"data": {
"id": 0,
"pid": 0,
"name": "string",
"info": "string",
"stockNum": 0,
"imageUrl": "string",
"categoryLevel": 0,
"createTime": "2024-12-26T02:31:22.731Z",
"state": 0,
"isEnabled": true,
"logoUrl": "string",
"showOrder": 0,
"hideInApple": true,
"childs": [
"string"
],
"giftCards": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"shortName": "string",
"info": "string",
"scope": "string",
"stockNum": 0,
"imageUrl": "string",
"cId": 0,
"childCId": 0,
"categoryId": 0,
"sellPrice": 0,
"originalPrice": 0,
"costPrice": 0,
"createTime": "2024-12-26T02:31:22.731Z",
"state": 0,
"isEnabled": true,
"logoUrl": "string",
"showOrder": 0,
"cardType": 0,
"cardTypeName": "string",
"platformId": 0,
"platformName": "string",
"platformGoodsId": "string",
"needRemark": true,
"remark": "string",
"hideInApple": true,
"autoBuy": true,
"autoPrice": true,
"priceRate": 0
}
]
}
}
修改于 2024-12-26 04:12:25