fix: 操作日志oper_url取地址去除参数部分
This commit is contained in:
@@ -121,7 +121,7 @@ func OperateLog(options Options) gin.HandlerFunc {
|
|||||||
BusinessType: options.BusinessType,
|
BusinessType: options.BusinessType,
|
||||||
OperatorType: options.OperatorType,
|
OperatorType: options.OperatorType,
|
||||||
Method: funcName,
|
Method: funcName,
|
||||||
OperURL: c.Request.RequestURI,
|
OperURL: c.Request.URL.Path,
|
||||||
RequestMethod: c.Request.Method,
|
RequestMethod: c.Request.Method,
|
||||||
OperIP: ipaddr,
|
OperIP: ipaddr,
|
||||||
OperLocation: location,
|
OperLocation: location,
|
||||||
|
|||||||
Reference in New Issue
Block a user