add models for MailAccount and Mail
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-10-04 20:43:08 +02:00
parent bce0bc2989
commit e1b5691fac
13 changed files with 334 additions and 15 deletions
+2
View File
@@ -70,9 +70,11 @@ func New(admin *handlers.AdminHandler, bookshelf *handlers.BookshelfHandler, com
{
secured := v1.Group("")
secured.Use(middleware.JWT(admin.Secret))
secured.GET("admin/mailaccounts", admin.MailAccountHandler.List)
secured.GET("user/profiles", admin.ProfileHandler.List)
secured.GET("user/permissions", admin.PermissionHandler.List)
secured.GET("user/assignments", admin.AssignmentHandler.List)
secured.GET("user/mails", admin.MailHandler.List)
secured.GET("user/tokens", admin.TokenHandler.List)
secured.GET("tysc/sports", tysc.SportHandler.List)
secured.GET("tysc/sports/:id", tysc.SportHandler.Get)