打印机部分修改

This commit is contained in:
duan
2024-10-11 14:51:27 +08:00
parent f619a448b3
commit 0e030b29c1
2 changed files with 58 additions and 14 deletions

View File

@@ -15,7 +15,6 @@ export function tbPrintMachine(data, method = 'post') {
})
}
// 打印机切换
export function switchtbPrintMachine(data, method = 'post') {
return request({
url: '/api/shop-config/printer/update-status',
@@ -26,6 +25,14 @@ export function switchtbPrintMachine(data, method = 'post') {
}
})
}
// 打印机部分
export function tbShopCategory(params) {
return request({
url: '/api/tbShopCategory',
method: 'get',
params
})
}
/**
* 打印机列表
* @returns
@@ -35,7 +42,6 @@ export function tbPrintMachineGet(params) {
url: '/api/shop-config/printer/list',
method: 'get',
params: {
...params
}
})