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)