文档
测试

给设备添加菜单(油炸机)

POST
/sys/device/deepFryMenu/addDeviceCook

请求头

参数名
类型
描述
必填
AutoToken
必填

请求参数

参数名
类型
描述
必填
storeId
string
示例:2
必填
deviceId
string
示例:5
必填
petp
int
示例:5 温度补偿
必填
classifyId
int
示例:1 分类id(是分类的classifyId)
必填
classifyName
string
示例:uuikm 菜单名称
必填
cookingTime
int
示例:600 烹饪时间
必填
hintObj
array
数据列表 提示列表
必填
endType
int
示例:1 1 Auto/0 Manual
必填
hintTime
int
示例:121 提示时间
必填
hintTitle
string
示例:響鈴 響鈴,搖晃,攪拌
必填
holdingTime
int
示例:0 等待时间 menuIsNeedHolding为true的话,holdingTime不能为0
必填
menuIsLike
boolean
示例:false
必填
menuIsNeedHolding
boolean
示例:false 是不是要等待
必填
menuIsNeedRing
boolean
示例:true 是不是要提示
必填
menuIsShow
boolean
示例:true 是不是要显示
必填
menuName
string
示例:回家哈213213哈哈 菜单名称
必填
reheat
boolean
示例:true 是不是需要二次加热
必填
uploadFilePath
string
示例:FRY10_1inch/tiny-279-2020-10-28-11-00-39.jpg 上传后返回的名称
必填
uploadFileUrl
string
示例:http://oven-bin-kfc.oss-cn-shenzhen.aliyuncs.com/FRY10_1inch/tiny-279-2020-10-28-11-00-39.jpg 上传后返回的url
必填
cookTimes
array
烹饪时间
必填
cookTemp
必填
cookTime
必填
endType
1是提示 0是不提示
必填

说明 / 示例

{ "errorCode": "200", "errorMsg": "", "data": { "id": 34, "indexValue": 4, "menuName": "测试菜单咯", "menuIsLike": false, "cookingTime": 600, "petp": 5, "reheat": true, "classifyId": 4, "classifyName": "uuikm", "holdingTime": 0, "menuIsNeedHolding": false, "updateTime": 1604039978458, "menuIsShow": true, "menuIsNeedRing": true, "uploadFilePath": "FRY10_1inch/tiny-279-2020-10-28-11-00-39.jpg", "uploadFileUrl": "http://oven-bin-kfc.oss-cn-shenzhen.aliyuncs.com/FRY10_1inch/tiny-279-2020-10-28-11-00-39.jpg", "menuId": null, "storeId": 2, "deviceId": 5, "hintList": "[{\"hintTitle\":\"響鈴\",\"hintTime\":121,\"endType\":1},{\"hintTitle\":\"響鈴\",\"hintTime\":242,\"endType\":1}]", "hintObj": [ { "hintTitle": "響鈴", "hintTime": 121, "endType": 1 }, { "hintTitle": "響鈴", "hintTime": 242, "endType": 1 } ], "maxIndex": null } }