From f7281ee9a9ac8716d061cc0b542cf885b5d9b5ce Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 29 Jul 2021 15:10:01 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index b5007d150..65dda5d78 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -27,7 +27,7 @@ func ListenTcp() { go HandleTcpMessages() go t.HandleCheckTcpHeart() go t.doPrint2(printMsgChan) - go t.doPrint(printMsgChanFail) + //go t.doPrint(printMsgChanFail) for { c, err := l.Accept() if err != nil { @@ -95,7 +95,7 @@ func (t *TcpClient) handleConn(c net.Conn) { t.addConn(c, printNo, printStatus2JxStatus(data[len(data)-8:len(data)-6])) changePrinterStatus(printNo, status) if status == printerStatusOnline { - printFail() + //printFail() } } else { //改变打印机状态