diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 733b1c188..f152fa00a 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -264,10 +264,8 @@ func (t *TcpClient) doPrint(key string) (err error) { //t.delConn(printMsg.PrintNo) close(t.TimeoutMap[key]) } else { - globals.SugarLogger.Debugf("=====wait callback1") //等待回调 dataStr := <-t.CallBackMap[printMsg.PrintNo] - globals.SugarLogger.Debugf("=====wait callback2 %s", dataStr) if dataStr != "" { a, b := getCallbackMsgInfo(dataStr) t.changePrintMsg(dataStr, a, b) diff --git a/business/jxstore/event/print_test.go b/business/jxstore/event/print_test.go index 5b2215ba0..542f93afb 100644 --- a/business/jxstore/event/print_test.go +++ b/business/jxstore/event/print_test.go @@ -15,12 +15,12 @@ func TestPrintMsg(t *testing.T) { msg := &model.PrintMsg{ ModelIDCULD: model.ModelIDCULD{}, - PrintNo: "120221008001001", - Content: "