feat: add printer config management API
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
This commit is contained in:
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user