修改打印机状态接口

This commit is contained in:
duan
2024-10-09 14:13:11 +08:00
parent df3546c378
commit f3554b2b4a
2 changed files with 19 additions and 5 deletions

View File

@@ -14,7 +14,18 @@ export function tbPrintMachine(data, method = 'post') {
}
})
}
// 打印机切换
export function switchtbPrintMachine(data, method = 'post') {
return request({
url: '/api/shop-config/printer/update-status',
method: method,
data: {
shopId: localStorage.getItem('shopId'),
...data
}
})
}
/**
* 打印机列表
* @returns