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("打印机离线!")