调整工厂模式的方法

This commit is contained in:
2025-12-05 00:07:15 +08:00
parent 0650feb0d2
commit 6146178111
15 changed files with 635 additions and 1039 deletions

View File

@@ -109,7 +109,7 @@ func logPanic(log *logger.Logger, r *http.Request, err interface{}, enableStackT
"method": r.Method,
"path": r.URL.Path,
"query": r.URL.RawQuery,
"ip": getClientIP(r),
"ip": GetClientIP(r),
"error": fmt.Sprintf("%v", err),
}