From 35d4e813c4c91e2dae53a9d072cc2291e38fda6d Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 1 Jul 2021 15:56:19 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 339b04b61..72b61f616 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -157,7 +157,7 @@ func handleConn(c net.Conn) { } //也可能是查状态的 if err = json.Unmarshal(buffer[:n], &printStatus); err == nil { - fmt.Println("handleConn msg: %v", buffer[:n]) + fmt.Println("handleConn msg: %v", string(buffer[:n])) if printStatus != nil { var status int if tcpClient.Clients[printStatus.PrintNo] != nil {