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

This commit is contained in:
TsMask committed 2024-01-26 10:39:26 +08:00
1 parent 376b7d83e6
commit ce0ef4892a
1 file changed
+1 -1
@@ -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,