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