From ca8fd2178dbabed3a5bd8eefb690ebbadb7ba08c Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Tue, 25 May 2021 19:37:40 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8=20=E6=93=8D=E4=BD=9C=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=A4=9A=E4=BD=99=E5=8F=82=E6=95=B0=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/middleware/logger.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/middleware/logger.go b/common/middleware/logger.go index dacf1f1d..4d66060d 100644 --- a/common/middleware/logger.go +++ b/common/middleware/logger.go @@ -104,7 +104,6 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string l := make(map[string]interface{}) l["_fullPath"] = c.FullPath() l["operUrl"] = reqUri - l["method"] = reqMethod l["operIp"] = clientIP l["operLocation"] = pkg.GetLocation(clientIP) l["operName"] = user.GetUserName(c)