feat(server-go): 专家会诊(病例快照/状态流转/意见与方案,#18)

This commit is contained in:
weijuesen
2026-08-12 19:04:08 +08:00
parent 3db6943c63
commit bf734c1a52
6 changed files with 370 additions and 0 deletions
+1
View File
@@ -116,6 +116,7 @@ func main() {
handler.RegisterWeatherRoutes(api, db, weatherSvc)
handler.RegisterLampRoutes(api, db, s3Svc, cfg.S3BucketImages)
handler.RegisterConsumableRoutes(api, db)
handler.RegisterConsultationRoutes(api, db)
// 启动高发病天气预警定时任务(未配置时跳过)
go startWeatherAlertLoop(db, weatherSvc, time.Duration(cfg.QWeatherIntervalMin)*time.Minute)