From 9651e0344d45a03087d2589b1c03cf352a4ccaf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 23 Aug 2022 16:33:32 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index f1e183cf7..ed0c8d0ee 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -90,6 +90,8 @@ func (t *TcpClient) handleConn(c net.Conn) { } changePrinterStatus(printNo, status) t.HandleCheckTcpHeart(printNo) + // todo 证明打印机已经被激活,将激活打印机存入数据库,保证用户不能无限制绑定打印机 + } else { //在加到连接池中已经更新了时间,所以放在else里 t.setPrintStatusTime(printNo)