修复 curve 接口的一些问题

This commit is contained in:
eafonyang
2026-06-04 19:39:08 +08:00
parent c4cd8b6f5d
commit 4f31cd563f
12 changed files with 202 additions and 82 deletions
+6
View File
@@ -9,6 +9,12 @@ import (
func Logger(log *zap.Logger) gin.HandlerFunc {
return func(c *gin.Context) {
// 跳过 health 检查的日志
if c.Request.URL.Path == "/api/v1/health" {
c.Next()
return
}
start := time.Now()
path := c.Request.URL.Path
query := c.Request.URL.RawQuery