改打印机声音
This commit is contained in:
@@ -798,7 +798,7 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
|
||||
handler.UnregisterPrinter(ctx, store.PrinterSN, store.PrinterKey)
|
||||
}
|
||||
}
|
||||
if valid["soundPercentage"] != nil {
|
||||
if valid["soundPercentage"] != nil && valid["printerSN"] != nil {
|
||||
handler := partner.GetPrinterPlatformFromVendorID(printerVendorID)
|
||||
if handler == nil {
|
||||
return 0, fmt.Errorf("不支持的打印机厂商ID:%d", printerVendorID)
|
||||
|
||||
Reference in New Issue
Block a user