feat: 初始化并配置 Gin 路由器,注入所有仓库、服务和处理器的依赖

This commit is contained in:
2026-01-28 08:40:58 +08:00
parent 0414401ada
commit e29c808451

View File

@@ -250,9 +250,6 @@ func Setup(db *gorm.DB, yunAPIClient *service.YunAPIClient, cfg *config.Config)
protected.POST("/app-lock/disable", appLockHandler.DisableLock) protected.POST("/app-lock/disable", appLockHandler.DisableLock)
protected.POST("/app-lock/password/change", appLockHandler.ChangePassword) protected.POST("/app-lock/password/change", appLockHandler.ChangePassword)
// Register notification routes
notificationHandler.RegisterRoutes(protected)
// Register health score routes // Register health score routes
healthScoreHandler.RegisterRoutes(protected) healthScoreHandler.RegisterRoutes(protected)
} }