master
parent
966ddd1c04
commit
cc0c602def
|
|
@ -437,6 +437,80 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"method": "GET",
|
||||||
|
"path": "/api/product/setmeal-list",
|
||||||
|
"response": {
|
||||||
|
"category": "套餐",
|
||||||
|
"totalPrice": 480.0,
|
||||||
|
"shippingFee": 2.0,
|
||||||
|
"packingFee": 1.0,
|
||||||
|
"count": 3,
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"id": "20001",
|
||||||
|
"name": "家庭饭格子荤素自选(含米饭热汤)",
|
||||||
|
"desc": "份量600g",
|
||||||
|
"price": 120.0,
|
||||||
|
"count": 2,
|
||||||
|
"image": "https://res.klyj.jinzejk.com/img/taocan01.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "20002",
|
||||||
|
"name": "招牌肉沫米粉套餐",
|
||||||
|
"desc": "热干粉+小炒肉+蔬菜拼配",
|
||||||
|
"price": 120.0,
|
||||||
|
"count": 1,
|
||||||
|
"image": "https://res.klyj.jinzejk.com/img/taocan03.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "20003",
|
||||||
|
"name": "鸡丝麻酱拌面套餐",
|
||||||
|
"desc": "份量600g",
|
||||||
|
"price": 120.0,
|
||||||
|
"count": 2,
|
||||||
|
"image": "https://res.klyj.jinzejk.com/img/taocan02.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"swagger": {
|
||||||
|
"summary": "获取套餐商品列表",
|
||||||
|
"description": "返回社区点餐中的套餐类商品信息",
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "套餐数据",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"category": { "type": "string" },
|
||||||
|
"totalPrice": { "type": "number" },
|
||||||
|
"shippingFee": { "type": "number" },
|
||||||
|
"packingFee": { "type": "number" },
|
||||||
|
"count": { "type": "integer" },
|
||||||
|
"items": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": { "type": "string" },
|
||||||
|
"name": { "type": "string" },
|
||||||
|
"desc": { "type": "string" },
|
||||||
|
"price": { "type": "number" },
|
||||||
|
"count": { "type": "integer" },
|
||||||
|
"image": { "type": "string" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -446,4 +520,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue