From 348d2ae0264159d941aac24a74f69ee0862f9778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 13 Dec 2024 17:36:57 +0800 Subject: [PATCH] 1 --- business/partner/printer/trendit/trendit.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/business/partner/printer/trendit/trendit.go b/business/partner/printer/trendit/trendit.go index bbc8c00fc..a3f6d02d4 100644 --- a/business/partner/printer/trendit/trendit.go +++ b/business/partner/printer/trendit/trendit.go @@ -38,11 +38,8 @@ func (p PrinterHandler) PrintMsg(ctx *jxcontext.Context, sn, copies, voice, msgC if sn != "" { //if globals.EnableStoreWrite { printOrderID, err1 := api.TrendITAPI.Print(sn, msgContent, voice) - globals.SugarLogger.Debugf("------err1 := %s", utils.Format4Output(err1, false)) if err1 == nil && printOrderID != "" { printerStatus, err = p.GetPrinterStatus(ctx, sn, "") - globals.SugarLogger.Debugf("-printerStatus-----err1 := %s", utils.Format4Output(printerStatus, false)) - globals.SugarLogger.Debugf("---err---err1 := %s", utils.Format4Output(err, false)) } // } //} else { @@ -120,8 +117,6 @@ func (p PrinterHandler) PrintOrder(ctx *jxcontext.Context, store *model.Store, s count := 0 for { printerStatus, err := p.PrintMsg(ctx, store.PrinterSN, "", trenditapi.VoiceNewShort, content) - globals.SugarLogger.Debugf("------printerStatus := %s", utils.Format4Output(printerStatus, false)) - globals.SugarLogger.Debugf("------err := %s", utils.Format4Output(err, false)) if (store.PrinterFontSize == partner.PrinterFontSizeBig2 || store.PrinterFontSize == partner.PrinterFontSizeNormal2) && count < 1 { count += 1 continue