菜品分类查询
POST
/open/v1/cater/dish/categoryAll(下行接口)合作方调用此接口,根据菜品分类id获取菜品列表
请求参数
Body 参数application/json
dishTypeId
integer
必需
菜品分类Id(可通过菜品分类信息查询接口获取)
示例
{
"dishTypeId": 261813213542561800
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
object
必需
dishList
array [object {35}]
必需
code
integer
必需
message
string
必需
messageUuid
string
必需
apiMessage
string
必需
示例
{
"result": {
"dishList": [
{
"aliasName": "",
"boxQty": 1,
"brandDishId": 344855050762762240,
"clearStatus": 1,
"currRemainTotal": null,
"dishDesc": "a单规格套餐",
"dishIncreaseUnit": 1,
"dishQty": 1,
"dishTypeId": 344558134170671100,
"productId": null,
"id": 344855050821482500,
"marketPrice": 123.11,
"name": "a单规格套餐",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"richDesc": null,
"uuid": "632d0ab81d284d7a8a28baa3d7b6d893",
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"stepNum": 1,
"type": 1,
"unitId": 305716374740448260,
"unitName": "套",
"videoUrl": "",
"dishSetmealGroups": [
{
"dishSetmealGroupChildInfos": [
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 120,
"marketPrice": 4,
"name": "b单规格有起卖份数-称重",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 1,
"leastCellNum": 0.11,
"marketPrice": 2,
"name": "b单规格有菜品图片",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 1,
"leastCellNum": 14,
"marketPrice": 5,
"name": "b单规格有菜品描述",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 120,
"marketPrice": 3.51,
"name": "b单规格有起卖份数-非称重",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 120,
"marketPrice": 1,
"name": "b单规格商品",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
}
],
"id": 344855050905368600,
"name": "1",
"orderMax": 15,
"orderMin": 0,
"sort": 0
},
{
"dishSetmealGroupChildInfos": [
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 1,
"leastCellNum": 1,
"marketPrice": 4,
"name": "b单规格有起卖份数-称重",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 2,
"name": "b单规格有菜品图片",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 5,
"name": "b单规格有菜品描述",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 3.51,
"name": "b单规格有起卖份数-非称重",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 344853255009253400,
"clearStatus": 1,
"dishQty": 1,
"id": 344853255109916700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 1,
"name": "b单规格商品",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "套",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
}
],
"id": 344855050905368600,
"name": "2",
"orderMax": 1,
"orderMin": 0,
"sort": 1
}
],
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"largeImgList": [
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-89.jpg?x-oss-process=image/resize,w_640,h_480",
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-93.jpg?x-oss-process=image/resize,w_640,h_480",
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-95.jpg?x-oss-process=image/resize,w_640,h_480"
],
"smallImgUrls": [
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-89.jpg?x-oss-process=image/resize,w_180,h_135",
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-93.jpg?x-oss-process=image/resize,w_180,h_135",
"https://img-static.keruyun.com/kry-dir/rc-upload-1586414383543-95.jpg?x-oss-process=image/resize,w_180,h_135"
],
"enabledFlag": 1,
"statusFlag": 1,
"guaranteeDate": null,
"guaranteeDateType": null,
"dishCode": "SKU1456"
},
{
"aliasName": "",
"boxQty": 1,
"brandDishId": 355728750365288450,
"clearStatus": 1,
"currRemainTotal": null,
"dishDesc": "",
"dishIncreaseUnit": 1,
"dishQty": 1,
"dishTypeId": 344558134170671100,
"productId": null,
"id": 355728792601929700,
"marketPrice": 20,
"name": "烧鹅套餐",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"richDesc": null,
"uuid": "e3021a521ac74d008a9757d01b73bc6c",
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"stepNum": 1,
"type": 1,
"unitId": 37930747935351810,
"unitName": "份",
"videoUrl": "",
"dishSetmealGroups": [
{
"dishSetmealGroupChildInfos": [
{
"boxQty": 1,
"brandDishId": 218063411072732160,
"clearStatus": 1,
"dishQty": 1,
"id": 218063455586880500,
"isDefault": 1,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 0.12,
"name": "满满鲜奶茶",
"residueTotal": -299,
"residueTotalWechat": 400,
"saleTotal": 1000,
"saleTotalWechat": 400,
"saleType": 2,
"sort": 1,
"unitName": "份",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [
{
"dishBrandId": 218063411072732160,
"id": 123800111624990720,
"name": "甜度",
"properties": [
{
"id": 123800944504713220,
"isChecked": 2,
"name": "无糖",
"reprice": 1,
"sort": 0
},
{
"id": 123800237852569600,
"isChecked": 2,
"name": "少糖",
"reprice": 0,
"sort": 0
},
{
"id": 123800185813839870,
"isChecked": 2,
"name": "常规糖",
"reprice": 0,
"sort": 0
},
{
"id": 123800780016693250,
"isChecked": 2,
"name": "半糖",
"reprice": 0,
"sort": 0
}
],
"type": 1
},
{
"dishBrandId": 218063411072732160,
"id": 284377835830688770,
"name": "做法测试",
"properties": [
{
"id": 284378071001119740,
"isChecked": 2,
"name": "小杯+奶盖",
"reprice": 0,
"sort": 0
},
{
"id": 284377939648101380,
"isChecked": 2,
"name": "大杯",
"reprice": 2,
"sort": 0
}
],
"type": 1
}
],
"imageUrls": null,
"price": 1
},
{
"boxQty": 1,
"brandDishId": 222748246185872400,
"clearStatus": 1,
"dishQty": 1,
"id": 298129153307613200,
"isDefault": 1,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 0.01,
"name": "芝芝莓莓",
"residueTotal": 997,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 2,
"unitName": "份",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [
{
"dishBrandId": 222748246185872400,
"id": 218048691808766980,
"name": "冷热",
"properties": [
{
"id": 218063158126840830,
"isChecked": null,
"name": "热",
"reprice": 0,
"sort": 0
}
],
"type": 1
}
],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 313361766228304900,
"clearStatus": 1,
"dishQty": 1,
"id": 313361766576432100,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 0.01,
"name": "踩踩003",
"residueTotal": 52,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "份",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
},
{
"boxQty": 1,
"brandDishId": 313720933401080800,
"clearStatus": 1,
"dishQty": 1,
"id": 313720933661127700,
"isDefault": 2,
"isMulti": 1,
"isReplace": 2,
"leastCellNum": 1,
"marketPrice": 20,
"name": "商品0316001",
"residueTotal": 1000,
"residueTotalWechat": 1000,
"saleTotal": 1000,
"saleTotalWechat": 1000,
"saleType": 2,
"sort": 0,
"unitName": "份",
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"imageUrls": null,
"price": 0
}
],
"id": 355728750390454300,
"name": "默认分组",
"orderMax": 6,
"orderMin": 0,
"sort": 0
}
],
"dishIngredientInfoVo": null,
"dishPropertyTypeInfos": [],
"largeImgList": null,
"smallImgUrls": null,
"enabledFlag": 1,
"statusFlag": 1,
"guaranteeDate": null,
"guaranteeDateType": null,
"dishCode": "SKU1647"
}
]
},
"code": 0,
"message": "成功[OK]",
"messageUuid": "88d87f8da5e640bfa45893f6c8698bd8",
"apiMessage": "成功[OK]"
}
修改于 3 年前