From 6cd3be8dba10f678e13becc5dd122bd299523c50 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 30 Jul 2021 18:30:26 +0800 Subject: [PATCH] a --- business/jxstore/event/event_tcp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 0141c7d27..5506dc9e3 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -78,6 +78,8 @@ func (t *TcpClient) handleConn(c net.Conn) { if t.Clients[printNo] == nil { timeoutChan <- 1 t.addConn(c, printNo, status) + t.buildCallBackMap(printNo) + t.buildMsgMap(printNo) t.HandleTcpMessages(printNo) t.doPrint(printNo) if status == printerStatusOnline {