diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 15057866b..88682f141 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -261,7 +261,7 @@ func (t *TcpClient) doPrint(key string) (err error) { close(t.TimeoutMap[key]) } else { //等待回调 - dataStr := t.GetCallbackChan(printMsg.PrintNo) + dataStr := <-t.CallBackMap[key] if dataStr != "" { a, b := getCallbackMsgInfo(dataStr) t.changePrintMsg(dataStr, a, b)