feat: add printer config management API

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
dxc
2026-02-11 14:23:43 +08:00
parent c6fd0aca90
commit cfb36ebf0b
2 changed files with 39 additions and 2 deletions

View File

@ -14,4 +14,19 @@ export function executePrint(data: any) {
method: 'post',
data
})
}
}
export function getPrinterConfig() {
return request({
url: '/common/print/config',
method: 'get'
})
}
export function updatePrinterConfig(data: any) {
return request({
url: '/common/print/config',
method: 'post',
data
})
}