3.40订单对象
# 3.40 订单对象
</br>
## 数据结构说明
| 字段 | 数据类型 | 释义 | 取值 | 取值释义 |
|----------|----------|------------------|------|----------|
| id | int | 目标对象ID | 340 | |
| status | String | 订单状态 | FINISH | 确认下单 |
| | | | CANCEL | 取消下单 |
| | | | ADD | 增加菜品 |
| | | | DELETE | 删除菜品 |
| | | | EDIT | 修改菜品 |
| menus | List | 菜品列表 | 菜品对象 | 参考3.39菜品对象 |
</br>
## 返回结果json示例
~~~
输入:下单吧
{
"rtext": "好的,祝您用餐愉快",
"ttext": "",
"outc": 0,
"actions": [
{
"action": "VIEW",
"target": {
"id": 340,
"status": "FINISH",
"menus": [
{
"id": 339,
"name": "果肉榴莲比萨",
"type": 1,
"size": 9,
"ingredients": "芝士",
"item": "经典手拍",
"sauce": "美乃滋",
"number": 1
},
{
"id": 339,
"name": "拿铁",
"type": 7,
"number": 2,
"temp": "热",
"norm": "大"
}
]
}
}
],
"intention": "MENU_ORDER"
}