diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index c64d4124c..c4d8b06c3 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -134,7 +134,7 @@ func handleConn(c net.Conn, t *TcpClient) error { t.HandleCheckTcpHeart(printNo) // todo 证明打印机已经被激活,将激活打印机存入数据库,保证用户不能无限制绑定打印机 if err := dao.NotExistsCreate(printNo); err != nil { - globals.SugarLogger.Debugf("监听打印机心跳,不存在则创建 :[%v]", err) + globals.SugarLogger.Debugf("监听打印机心跳,不存在则创建 :[%v],printNo[%s]", err, printNo) } } else { //在加到连接池中已经更新了时间,所以放在else里