fix(server-go): 恢复 /health 路由(原 health.go 被覆盖),健康画像独立注册
This commit is contained in:
@@ -118,7 +118,8 @@ func main() {
|
||||
handler.RegisterConsultationRoutes(api, db)
|
||||
handler.RegisterDetectionMethodRoutes(api, db)
|
||||
handler.RegisterTraceRoutes(api, db)
|
||||
handler.RegisterHealthRoutes(api, db)
|
||||
handler.RegisterHealthRoutes(api)
|
||||
handler.RegisterHealthProfileRoutes(api, db)
|
||||
|
||||
// 启动高发病天气预警定时任务(未配置时跳过)
|
||||
go startWeatherAlertLoop(db, weatherSvc, time.Duration(cfg.QWeatherIntervalMin)*time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user