feat: 健康档案功能大屏新增。

This commit is contained in:
tianyongbao
2026-06-20 22:06:25 +08:00
parent b360c15dce
commit 60d7fa220c
29 changed files with 3557 additions and 103 deletions

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.intc</groupId>
<artifactId>intc-common</artifactId>
<version>3.6.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>intc-common-message</artifactId>
<description>
intc-common-message 消息通知服务(短信、语音等)
</description>
<dependencies>
<!-- 阿里云短信 SDK -->
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dysmsapi20170525</artifactId>
<version>2.0.24</version>
</dependency>
<!-- 阿里云语音 SDK -->
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dyvmsapi20170525</artifactId>
<version>3.2.2</version>
</dependency>
<!-- 阿里云核心 SDK -->
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-openapi</artifactId>
<version>0.3.4</version>
</dependency>
<!-- Spring Boot Starter -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- Fastjson -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
</dependency>
<!-- intc-common-core -->
<dependency>
<groupId>com.intc</groupId>
<artifactId>intc-common-core</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,77 @@
package com.intc.common.message.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* 阿里云消息服务配置
*
* @author bot5
* @date 2026-03-29
*/
@Data
@ConfigurationProperties(prefix = "aliyun.message")
public class AliyunMessageProperties {
/**
* 阿里云 AccessKey ID
*/
private String accessKeyId;
/**
* 阿里云 AccessKey Secret
*/
private String accessKeySecret;
/**
* 短信服务配置
*/
private SmsConfig sms = new SmsConfig();
/**
* 语音服务配置
*/
private VoiceConfig voice = new VoiceConfig();
@Data
public static class SmsConfig {
/**
* 短信签名名称
*/
private String signName;
/**
* 短信模板CODE用药提醒
*/
private String medicationRemindTemplateCode;
/**
* 短信模板CODE漏服提醒
*/
private String missedRemindTemplateCode;
/**
* 短信模板CODE家属通知
*/
private String familyNotifyTemplateCode;
}
@Data
public static class VoiceConfig {
/**
* 语音通知模板CODE用药提醒
*/
private String medicationRemindTtsCode;
/**
* 语音通知模板CODE漏服提醒
*/
private String missedRemindTtsCode;
/**
* 被叫号码显示的呼入号码
*/
private String calledShowNumber;
}
}