代客下单增加临时菜

This commit is contained in:
2024-11-21 09:52:17 +08:00
parent d8738f4e74
commit 7e994f84f0
5 changed files with 105 additions and 20 deletions

View File

@@ -389,4 +389,27 @@ export function $calcDeDuctionPoints(data) {
...data
}
});
}
}
//购物车-临时菜添加
export function $temporaryDishes(data) {
return request({
url: '/api/place/temporaryDishes',
method: "post",
data:{
shopId: uni.getStorageSync("shopId"),
...data
}
});
}
//单品改价
export function $updatePrice(data) {
return request({
url: '/api/place/updatePrice',
method: "put",
data:{
shopId: uni.getStorageSync("shopId"),
...data
}
});
}