mirror of
https://github.com/gowvp/gb28181.git
synced 2026-04-22 23:17:19 +08:00
代码重构
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user