代码重构

This commit is contained in:
xugo
2025-08-30 15:08:22 +08:00
parent 700159cf80
commit 40fa98dc98
14 changed files with 67 additions and 154 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
func Register(g gin.IRouter, hf ...gin.HandlerFunc) {
stat := g.Group("/stats", hf...)
stat.GET("", web.WarpH(findStat))
stat.GET("", web.WrapH(findStat))
}
func findStat(_ *gin.Context, _ *struct{}) (gin.H, error) {