1
This commit is contained in:
@@ -37,6 +37,7 @@ func (c *PrinterHandler) PrintMsg(ctx *jxcontext.Context, sn, copies, voiceType,
|
||||
if utils.Str2Int(copies) < 0 || utils.Str2Int(copies) > 3 {
|
||||
copies = "1"
|
||||
}
|
||||
globals.SugarLogger.Debugf("printMsg voiceType====%s", voiceType)
|
||||
printOrderID, err1 := api.XpyunAPI.Print(&xpyunapi.PrintRequest{
|
||||
Sn: sn,
|
||||
Content: msgContent,
|
||||
@@ -145,7 +146,7 @@ func (c *PrinterHandler) PrintCancelOrRefundOrder(ctx *jxcontext.Context, printT
|
||||
} else {
|
||||
content = c.getCancelOrRefundOrderContentBig(order, printType, storeDetail)
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("PrintCancelOrRefundOrder content=====%s", content)
|
||||
if content == "" {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user