From f588a2be99ad310abfd8db853f0ccaf24d6336c7 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 13 Jul 2021 15:13:42 +0800 Subject: [PATCH] test ip --- controllers/api_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/api_controller.go b/controllers/api_controller.go index 6116420e6..d247310c8 100644 --- a/controllers/api_controller.go +++ b/controllers/api_controller.go @@ -249,7 +249,7 @@ 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]", utils.Format4Output(dataMap, false)) + globals.SugarLogger.Debugf("Begin API UpdatePrinter data: [%v] , ip : %s", utils.Format4Output(dataMap, false), c.Ctx.Input.IP()) if _, ok := dataMap[keyPrintNo].(string); !ok { return buildParamErrCodeAndErr(keyPrintNo) } else {