From 8abcd3502b72e8d1c0ceca8e3451384ea88acd70 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 29 Jun 2021 10:37:29 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 849c7393e..106af2260 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -3,7 +3,6 @@ package event import ( "encoding/hex" "fmt" - "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/jxutils" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/model/dao" @@ -156,10 +155,10 @@ func HandleTcpMessages() { var err error time.Sleep(time.Second / 2) prints, _ := dao.GetPrintMsgs(db, printMsgWait, offset, pageSize) - fmt.Println(utils.Format4Output(prints, false)) for _, printMsg := range prints { if printMsg != nil { if err = checkPrintMsg(printMsg); err == nil { + fmt.Println("11111111111111111111", tcpClient.Clients[printMsg.PrintNo]) if tcpClient.Clients[printMsg.PrintNo] != nil { c = tcpClient.Clients[printMsg.PrintNo] data, err = buildMsg(printMsg)