feat: 完成后台Issue#6 数据统计接口模块
This commit is contained in:
@@ -20,6 +20,10 @@ func registerAdminRoutes(router *gin.Engine, handler *adminhandler.Handler) {
|
||||
{
|
||||
protected.GET("/profile", handler.Profile)
|
||||
protected.POST("/logout", handler.Logout)
|
||||
|
||||
protected.GET("/stats/overview", handler.StatsOverview)
|
||||
protected.GET("/stats/mini-programs", handler.StatsMiniPrograms)
|
||||
protected.GET("/stats/user-growth", handler.StatsUserGrowth)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user