feat: 性能统计接口
This commit is contained in:
1 parent
b9e4b2e6d9
commit
9429a466bd
7 files changed
+246
No files matched your search
@@ -141,4 +141,17 @@ func Setup(router *gin.Engine) {
|
||||
)
|
||||
}
|
||||
|
||||
// 性能统计信息
|
||||
kpiGroup := neGroup.Group("/kpi")
|
||||
{
|
||||
kpiGroup.GET("/title",
|
||||
middleware.PreAuthorize(nil),
|
||||
controller.NewPerfKPI.Title,
|
||||
)
|
||||
kpiGroup.GET("/data",
|
||||
middleware.PreAuthorize(nil),
|
||||
controller.NewPerfKPI.GoldKPI,
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user