From 2aaf46e08ba61c5394e0025bb27c83fc7c58696a Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 13 Sep 2024 17:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86=E4=BB=A3?= =?UTF-8?q?=E5=AE=A2=E4=B8=8B=E5=8D=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/yskApi/Instead.js | 74 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 73 insertions(+), 1 deletion(-) diff --git a/http/yskApi/Instead.js b/http/yskApi/Instead.js index f426699..f086402 100644 --- a/http/yskApi/Instead.js +++ b/http/yskApi/Instead.js @@ -216,4 +216,76 @@ export function $payOrder(data) { ...data } }); -} \ No newline at end of file +} + +//退单 +export function $returnCart(data) { + return request({ + url: '/api/place/returnCart', + method: "put", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} +// 选择台桌 +export function $choseTable(data) { + return request({ + url: '/api/place/choseTable', + method: "put", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} +// 用餐人数 + +export function $choseCount(data) { + return request({ + url: '/api/place/choseCount', + method: "put", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} + +// 批量生成台桌 +export function $fastCreateTable(data) { + return request({ + url: '/api/tbShopTable/generate', + method: "post", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} + +//打印当前台桌订单 +export function $printOrder(data) { + return request({ + url: '/api/place/printOrder', + method: "post", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} +//打印当前台桌菜品 + +export function $printDishes(data) { + return request({ + url: '/api/place/printDishes', + method: "post", + data:{ + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} +