1
This commit is contained in:
@@ -113,7 +113,7 @@ func (c *PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store,
|
||||
}
|
||||
count := 0
|
||||
for {
|
||||
printerStatus, err := c.PrintMsg(ctx, store.PrinterSN, "1", utils.Int2Str(xpyunapi.VoicePlayOrder), content)
|
||||
printerStatus, err := c.PrintMsg(ctx, store.PrinterSN, "", utils.Int2Str(xpyunapi.VoicePlayOrder), content)
|
||||
if (store.PrinterFontSize == partner.PrinterFontSizeBig2 || store.PrinterFontSize == partner.PrinterFontSizeNormal2) && count < 1 {
|
||||
count += 1
|
||||
continue
|
||||
@@ -148,7 +148,7 @@ func (c *PrinterHandler) PrintCancelOrRefundOrder(ctx *jxcontext.Context, printT
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
return c.PrintMsg(ctx, store.PrinterSN, store.PrinterKey, voiceType, content)
|
||||
return c.PrintMsg(ctx, store.PrinterSN, "", voiceType, content)
|
||||
}
|
||||
|
||||
func (c *PrinterHandler) EmptyPrintList(ctx *jxcontext.Context, sn, id2 string) (err error) {
|
||||
|
||||
Reference in New Issue
Block a user