|
|
@@ -120,8 +120,20 @@ export async function AddGoodDevice(data) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** 获取设备列表 */ |
|
|
|
export async function GetDeviceInfoPage(data) { |
|
|
|
return request(`/saasbase/api/device/list`, { |
|
|
|
method: 'get', |
|
|
|
data: data, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** 查询商品绑定的所有设备 */ |
|
|
|
export async function GetGoodDevice(goodsId, storeId) { |
|
|
|
return request(`/storemanage/api/FoodMenu/GetGoodDeviceAsync?foodId=${goodsId}&storeId=${storeId}`, { |
|
|
|
method: 'GET', |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -205,22 +217,11 @@ export function GetRequestLogPageAsync(data) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 获取设备列表 */ |
|
|
|
export async function GetDeviceInfoPage(data) { |
|
|
|
return request(`/kitchen/api/Device/GetDeviceInfoPage`, { |
|
|
|
method: 'POST', |
|
|
|
data: data, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 查询商品绑定的所有设备 */ |
|
|
|
export async function GetGoodDevice(goodsId, storeId) { |
|
|
|
return request(`/kitchen/api/goodes/GetGoodDevice?foodId=${goodsId}&storeId=${storeId}`, { |
|
|
|
method: 'GET', |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 菜谱列表 */ |
|
|
|
export async function GetFoodMenuInfoPage(data) { |
|
|
|