feat(supervisor): add reminder settings and rate-limited logs

This commit is contained in:
nepiedg
2026-04-16 13:37:06 +08:00
parent 50352d67ca
commit f701feebe8
7 changed files with 552 additions and 0 deletions
+3
View File
@@ -22,6 +22,9 @@ func registerQuitCheckinRoutes(protected *gin.RouterGroup, handler *quitcheckinh
v2.POST("/supervisor/revoke", handler.RevokeSupervisorBinding)
v2.GET("/supervisor/overview", handler.GetSupervisorOverview)
v2.GET("/supervisor/status", handler.GetSupervisorStatus)
v2.GET("/supervisor/reminders/settings", handler.GetReminderSettings)
v2.PUT("/supervisor/reminders/settings", handler.UpdateReminderSettings)
v2.POST("/supervisor/reminders/run", handler.RunReminders)
v2.GET("/stats/overview", handler.StatsOverview)
v2.GET("/badges", handler.ListBadges)