feat(server-go): 疫病溯源三级模型与接口(#21,一级自动溯源/二级清单/三级备注)

This commit is contained in:
weijuesen
2026-08-12 23:12:25 +08:00
parent 97087f51af
commit dc97d1cf56
7 changed files with 576 additions and 0 deletions
+1
View File
@@ -118,6 +118,7 @@ func main() {
handler.RegisterConsumableRoutes(api, db)
handler.RegisterConsultationRoutes(api, db)
handler.RegisterDetectionMethodRoutes(api, db)
handler.RegisterTraceRoutes(api, db)
// 启动高发病天气预警定时任务(未配置时跳过)
go startWeatherAlertLoop(db, weatherSvc, time.Duration(cfg.QWeatherIntervalMin)*time.Minute)