This commit is contained in:
邹宗楠
2022-12-16 11:45:54 +08:00
parent af07af1de0
commit b0631f4eeb

View File

@@ -72,6 +72,7 @@ func (c *PrinterHandler) RegisterPrinter(ctx *jxcontext.Context, id1, id2, print
return "", "", err
}
// UnregisterPrinter
func (c *PrinterHandler) UnregisterPrinter(ctx *jxcontext.Context, id1, id2 string) (err error) {
if globals.EnableStoreWrite {
err = api.JxPrintAPI.DelPrinter([]string{id1})