This commit is contained in:
2026-06-30 15:53:01 +07:00
parent 595aebd8a5
commit 74b540cac2
19 changed files with 1719 additions and 252 deletions

View File

@@ -140,6 +140,10 @@ func main() {
staff.Get("/classes/:rkId/allowed-apps", handlers.GetAllowedAppsHandler(gormDB))
staff.Post("/classes/:rkId/allowed-apps", handlers.SaveAllowedAppsHandler(gormDB))
staff.Get("/app-pool", handlers.ListAppPoolHandler(gormDB))
staff.Get("/app-templates", handlers.ListAppTemplatesHandler(gormDB))
staff.Post("/app-templates", handlers.CreateAppTemplateHandler(gormDB))
staff.Patch("/app-templates/:id", handlers.UpdateAppTemplateHandler(gormDB))
staff.Delete("/app-templates/:id", handlers.DeleteAppTemplateHandler(gormDB))
staff.Get("/wifi-pool", handlers.ListWifiPoolHandler(gormDB))
staff.Get("/network/accepted-wifis", handlers.ListAcceptedWifisHandler(gormDB))