From 5f3f974d3e71deebe9a43e76f4fc15a5c229ea51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 31 May 2023 19:47:31 +0800 Subject: [PATCH] 1 --- 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 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里