添加绑定码牌

This commit is contained in:
GaoHao
2024-10-24 17:36:28 +08:00
parent 44fc24c52f
commit c232d9ce76
4 changed files with 70 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
// 桌台管理
import http from './http.js'
const request=http.request
import $API from '@/http/classApi.js'
import appConfig from '@/config/appConfig.js'
import {
@@ -11,4 +12,15 @@ import infoBox from '@/commons/utils/infoBox.js'
export const $tableArea=new $API('/api/tbShopArea',http.req)
/* 台桌 */
export const $table=new $API('/api/tbShopTable',http.req)
/* 绑定 */
// export const $bind=new $API('/api/tbShopTable/bind',http.req)
export function $bind(data) {
return request({
url: "/api/tbShopTable/bind",
method: "post",
data: {
shopId: uni.getStorageSync('shopId'),
...data
}
});
}