diff --git a/controllers/api_controller.go b/controllers/api_controller.go index ae552fe0f..0368fc00a 100644 --- a/controllers/api_controller.go +++ b/controllers/api_controller.go @@ -250,7 +250,8 @@ func (c *ApiController) UpdatePrinter(dataMap map[string]interface{}) (data, err printNo, name, sim, sound string appID, volume int ) - globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v], ip: %v", utils.Format4Output(dataMap, false), getRealRemoteIP(c.Ctx.Request)) + globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v], ip: %v", utils.Format4Output(dataMap, false)) + //, getRealRemoteIP(c.Ctx.Request) if _, ok := dataMap[keyPrintNo].(string); !ok { return buildParamErrCodeAndErr(keyPrintNo) } else {