fix: 操作日志oper_url取地址去除参数部分
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user