From 2be3fb329ee8b509e2e13edf025929008a572567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 1 Jun 2023 12:49:50 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index d772ef63d..09a0546a6 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -299,6 +299,10 @@ func (t *TcpClient) doPrint(key string) (err error) { case printerStatusOnline: if c = t.getPrintConn(printMsg.PrintNo); c != nil { data, err = buildMsg(printMsg) + globals.SugarLogger.Debugf("=================printMsg : %s", utils.Format4Output(printMsg, false)) + globals.SugarLogger.Debugf("=================PrintNo : %s", printMsg.PrintNo) + globals.SugarLogger.Debugf("=================data : %s", string(data)) + globals.SugarLogger.Debugf("=================err : %s", utils.Format4Output(err, false)) } case printerStatusOffline: err = fmt.Errorf("打印机离线!")