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 {