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)