Files
intc-cloud/sql/aliyun-message-config-example.yml
bot5 846cd3141e feat(medication): 实现用药提醒短信和电话提醒功能
- 新增 intc-common-message 消息服务模块
- 阿里云短信服务 SmsService(用药提醒、漏服提醒、家属通知)
- 阿里云语音服务 VoiceService(用药提醒、漏服提醒电话)
- HealthPerson 添加 phone 手机号字段
- MedicationPlan 添加 remind_type 提醒方式字段(1-短信 2-电话 3-短信+电话)
- MedicationRemindJob 完善提醒逻辑:
  - 定时扫描待服药任务发送提醒
  - 超时30分钟未服药发送加强提醒
  - 配置家属通知功能
- 新增数据库更新SQL和Nacos配置示例文件
2026-03-29 18:26:53 +08:00

32 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 阿里云消息服务配置示例在Nacos配置中心添加
# 配置项intc-health-dev.yml 或独立配置文件
aliyun:
message:
# 阿里云 AccessKey请替换为实际值
accessKeyId: ${ALIYUN_ACCESS_KEY_ID:your-access-key-id}
accessKeySecret: ${ALIYUN_ACCESS_KEY_SECRET:your-access-key-secret}
# 短信配置
sms:
signName: 智聪健康
# 用药提醒短信模板CODE需要在阿里云短信服务中申请
medicationRemindTemplateCode: SMS_123456789
# 漏服提醒短信模板CODE
missedRemindTemplateCode: SMS_123456790
# 家属通知短信模板CODE
familyNotifyTemplateCode: SMS_123456791
# 语音配置
voice:
# 用药提醒语音模板CODE需要在阿里云语音服务中申请
medicationRemindTtsCode: TTS_123456789
# 漏服提醒语音模板CODE
missedRemindTtsCode: TTS_123456790
# 被叫号码显示的呼入号码(需要在阿里云购买号码)
calledShowNumber: 4001234567
# 短信模板示例(在阿里云申请时使用):
# 用药提醒模板:您好,${name}请在${time}服用${medicine},请按时服药保持健康。
# 漏服提醒模板:您好,${name}未在${time}服用${medicine},请尽快补服或咨询医生。
# 家属通知模板:您好,${name}超时未服用${medicine}(计划时间${time}),请关注提醒。