feat(health): 告警微信模板消息通知 + alert.triggered 事件消费者
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

This commit is contained in:
iven
2026-04-28 19:43:57 +08:00
parent 601b2d7f52
commit e76f4feb4f
2 changed files with 42 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ export const TEMPLATE_IDS = {
APPOINTMENT_REMINDER: '',
FOLLOWUP_REMINDER: '',
REPORT_NOTIFICATION: '',
CRITICAL_HEALTH_ALERT: '',
HEALTH_DATA_ABNORMAL: '',
} as const;
/** 检查模板 ID 是否已配置,未配置时返回 false 并打印警告 */