This commit is contained in:
邹宗楠
2022-08-23 16:33:32 +08:00
parent d2fef3a336
commit 9651e0344d

View File

@@ -90,6 +90,8 @@ func (t *TcpClient) handleConn(c net.Conn) {
}
changePrinterStatus(printNo, status)
t.HandleCheckTcpHeart(printNo)
// todo 证明打印机已经被激活,将激活打印机存入数据库,保证用户不能无限制绑定打印机
} else {
//在加到连接池中已经更新了时间所以放在else里
t.setPrintStatusTime(printNo)