This commit is contained in:
邹宗楠
2022-10-25 15:18:14 +08:00
parent 718b9991c1
commit dd96cf4180

View File

@@ -213,6 +213,10 @@ func (t *TcpClient) doPrint(key string) (err error) {
default:
select {
case printMsg, ok := <-t.MsgMap[key]:
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
globals.SugarLogger.Debugf("printclien == %s", utils.Format4Output(t.Clients[printMsg.PrintNo], false))
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
globals.SugarLogger.Debugf("printMsg == %s ,ok = %v", utils.Format4Output(printMsg, false), ok)
if !ok {
globals.SugarLogger.Debugf("doPrint err !ok ...")
return