fix: 操作日志oper_url取地址去除参数部分

This commit is contained in:
TsMask
2024-01-26 10:39:26 +08:00
parent 376b7d83e6
commit ce0ef4892a

View File

@@ -121,7 +121,7 @@ func OperateLog(options Options) gin.HandlerFunc {
BusinessType: options.BusinessType,
OperatorType: options.OperatorType,
Method: funcName,
OperURL: c.Request.RequestURI,
OperURL: c.Request.URL.Path,
RequestMethod: c.Request.Method,
OperIP: ipaddr,
OperLocation: location,