修改打印机状态接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user