feat: add manager list page in console page

This commit is contained in:
RockYang
2024-03-21 15:24:28 +08:00
parent dece19cec6
commit ec6186596d
9 changed files with 367 additions and 10 deletions

View File

@@ -274,6 +274,11 @@ func main() {
group.POST("login", h.Login)
group.GET("logout", h.Logout)
group.GET("session", h.Session)
group.GET("list", h.List)
group.POST("save", h.Save)
group.POST("enable", h.Enable)
group.GET("remove", h.Remove)
group.POST("resetPass", h.ResetPass)
}),
fx.Invoke(func(s *core.AppServer, h *admin.ApiKeyHandler) {
group := s.Engine.Group("/api/admin/apikey/")