feat(server-go): LAMP 检测管理(任务单/步骤/结果录入/结果图片,#14)

This commit is contained in:
weijuesen
2026-08-12 17:48:46 +08:00
parent 713d34a3b5
commit c6e5a76e71
6 changed files with 331 additions and 0 deletions
+1
View File
@@ -114,6 +114,7 @@ func main() {
handler.RegisterTrayBatchRoutes(api, db)
handler.RegisterWechatRoutes(api, db, wechatSvc)
handler.RegisterWeatherRoutes(api, db, weatherSvc)
handler.RegisterLampRoutes(api, db, s3Svc, cfg.S3BucketImages)
// 启动高发病天气预警定时任务(未配置时跳过)
go startWeatherAlertLoop(db, weatherSvc, time.Duration(cfg.QWeatherIntervalMin)*time.Minute)