This commit is contained in:
richboo111
2023-03-21 15:27:25 +08:00
parent b7c8912f92
commit 5f592aebfd
2 changed files with 2 additions and 8 deletions

View File

@@ -825,9 +825,6 @@ func PrintMsg(ctx *jxcontext.Context, vendorID int, id1, id2, msgTitle, msgConte
if handler == nil {
return nil, fmt.Errorf("打印机厂商:%d当前不被支持请检查vendorID", vendorID)
}
if vendorID == model.VendorIDXpYun {
id2 = "1" //id2传打印份数
}
return handler.PrintMsg(ctx, id1, id2, msgTitle, msgContent)
}