feat(admin): add quit-checkin admin endpoints and smoke profile fields

Made-with: Cursor
This commit is contained in:
nepiedg
2026-04-07 22:10:31 +08:00
parent fd097729d7
commit a6f0bfd4e8
4 changed files with 278 additions and 0 deletions
+3
View File
@@ -105,6 +105,9 @@ func registerAdminRoutes(
protected.PUT("/dream-presets/:id", handler.UpdateDreamPreset)
protected.DELETE("/dream-presets/:id", handler.DeleteDreamPreset)
protected.GET("/quit-checkin/daily-statuses", handler.ListQuitDailyStatuses)
protected.GET("/quit-checkin/reward-goals", handler.ListQuitRewardGoals)
protected.GET("/memberships/overview", handler.MembershipOverview)
protected.GET("/memberships/redeem-codes", handler.ListMembershipRedeemCodes)
protected.POST("/memberships/redeem-codes", handler.CreateMembershipRedeemCodes)