feat ✨ 操作日志多余参数去掉
This commit is contained in:
1 parent
b565b72cd3
commit
ca8fd2178d
1 file changed
-1
@@ -104,7 +104,6 @@ func SetDBOperLog(c *gin.Context, clientIP string, statusCode int, reqUri string
|
|||||||
l := make(map[string]interface{})
|
l := make(map[string]interface{})
|
||||||
l["_fullPath"] = c.FullPath()
|
l["_fullPath"] = c.FullPath()
|
||||||
l["operUrl"] = reqUri
|
l["operUrl"] = reqUri
|
||||||
l["method"] = reqMethod
|
|
||||||
l["operIp"] = clientIP
|
l["operIp"] = clientIP
|
||||||
l["operLocation"] = pkg.GetLocation(clientIP)
|
l["operLocation"] = pkg.GetLocation(clientIP)
|
||||||
l["operName"] = user.GetUserName(c)
|
l["operName"] = user.GetUserName(c)
|
||||||
|
|||||||
Reference in new issue
Block a user