diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index c64c76457..f6cc3a4e0 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -72,6 +72,10 @@ func handleConn(c net.Conn) error { } return err } + globals.SugarLogger.Debugf("======buffer := %s", string(buffer)) + globals.SugarLogger.Debugf("======n := %d", n) + globals.SugarLogger.Debugf("======LocalAddr := %s", c.LocalAddr().String()) + globals.SugarLogger.Debugf("======RemoteAddr := %s", c.RemoteAddr().String()) //看是心跳还是打印回调 data := hex.EncodeToString(buffer[:n]) diff --git a/controllers/api_controller.go b/controllers/api_controller.go index 0dcc6d1c8..d70883f9b 100644 --- a/controllers/api_controller.go +++ b/controllers/api_controller.go @@ -329,7 +329,7 @@ func (c *ApiController) DoPrint(dataMap map[string]interface{}) (data, errCode s appID int orderNo string ) - globals.SugarLogger.Debugf("Begin API DoPrint data: [%v]", utils.Format4Output(dataMap, false)) + //globals.SugarLogger.Debugf("Begin API DoPrint data: [%v]", utils.Format4Output(dataMap, false)) if _, ok := dataMap[keyPrintNo].(string); !ok { return buildParamErrCodeAndErr(keyPrintNo) }