Browse Source

修改bug

yjp 2 months ago
parent
commit
43a49c3b4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      framework/core/api/api.go

+ 1 - 1
framework/core/api/api.go

@@ -45,7 +45,7 @@ func New(opts ...Option) *Api {
 			start := time.Now()
 			c.Next()
 
-			path := c.FullPath()
+			path := c.Request.URL.Path
 			if slices.Contains(options.logSkipPaths, path) {
 				return
 			}