This commit is contained in:
邹宗楠
2024-07-15 15:41:05 +08:00
parent e7e7729715
commit cffad3c660
2 changed files with 0 additions and 13 deletions

View File

@@ -92,9 +92,7 @@ func handleConn(c net.Conn) error {
callback = true
}
globals.SugarLogger.Debugf("======printno := %s", printNo)
t, ok := PrintObject[printNo]
globals.SugarLogger.Debugf("======t := %s", utils.Format4Output(t, false))
if !ok {
t = NewTcpClient()
}
@@ -115,7 +113,6 @@ func handleConn(c net.Conn) error {
// c.Write([]byte("ok"))
// return err
//}
globals.SugarLogger.Debugf("=================1")
if heartbeat {
// 证明是心跳
Heartbeat(c, t, data, printNo, printRemoteAddr)