From 28bdfcee2f476876a80d82a436484b66b8004e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:17:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/net/maku/message/vo/SmsPlatformVO.java | 56 -------------------- .../java/net/maku/system/vo/SysSmsConfigVO.java | 59 ++++++++++++++++++++++ 2 files changed, 59 insertions(+), 56 deletions(-) delete mode 100644 maku-boot-module/maku-module-message/src/main/java/net/maku/message/vo/SmsPlatformVO.java create mode 100644 maku-boot-system/src/main/java/net/maku/system/vo/SysSmsConfigVO.java diff --git a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/vo/SmsPlatformVO.java b/maku-boot-module/maku-module-message/src/main/java/net/maku/message/vo/SmsPlatformVO.java deleted file mode 100644 index e192ed2..0000000 --- a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/vo/SmsPlatformVO.java +++ /dev/null @@ -1,56 +0,0 @@ -package net.maku.message.vo; - -import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.v3.oas.annotations.media.Schema; -import lombok.Data; -import net.maku.framework.common.utils.DateUtils; - -import java.io.Serializable; -import java.time.LocalDateTime; - -/** - * 短信平台 - * - * @author 阿沐 babamu@126.com - * MAKU - */ -@Data -@Schema(description = "短信平台") -public class SmsPlatformVO implements Serializable { - private static final long serialVersionUID = 1L; - - @Schema(description = "id") - private Long id; - - @Schema(description = "平台类型 0:阿里云 1:腾讯云") - private Integer platform; - - @Schema(description = "短信签名") - private String signName; - - @Schema(description = "短信模板") - private String templateId; - - @Schema(description = "短信应用的ID,如:腾讯云等") - private String appId; - - @Schema(description = "腾讯云国际短信、华为云等需要") - private String senderId; - - @Schema(description = "接入地址,如:华为云") - private String url; - - @Schema(description = "AccessKey") - private String accessKey; - - @Schema(description = "SecretKey") - private String secretKey; - - @Schema(description = "状态 0:禁用 1:启用") - private Integer status; - - @Schema(description = "创建时间") - @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN) - private LocalDateTime createTime; - -} \ No newline at end of file diff --git a/maku-boot-system/src/main/java/net/maku/system/vo/SysSmsConfigVO.java b/maku-boot-system/src/main/java/net/maku/system/vo/SysSmsConfigVO.java new file mode 100644 index 0000000..172a22c --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/vo/SysSmsConfigVO.java @@ -0,0 +1,59 @@ +package net.maku.system.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import net.maku.framework.common.utils.DateUtils; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + * 短信配置 + * + * @author 阿沐 babamu@126.com + * MAKU + */ +@Data +@Schema(description = "短信配置") +public class SysSmsConfigVO implements Serializable { + private static final long serialVersionUID = 1L; + + @Schema(description = "id") + private Long id; + + @Schema(description = "平台类型") + private Integer platform; + + @Schema(description = "分组名称,发送短信时,可指定分组") + private String groupName; + + @Schema(description = "短信签名") + private String signName; + + @Schema(description = "短信模板") + private String templateId; + + @Schema(description = "短信应用的ID,如:腾讯云等") + private String appId; + + @Schema(description = "腾讯云国际短信、华为云等需要") + private String senderId; + + @Schema(description = "接入地址,如:华为云") + private String url; + + @Schema(description = "AccessKey") + private String accessKey; + + @Schema(description = "SecretKey") + private String secretKey; + + @Schema(description = "状态 0:禁用 1:启用") + private Integer status; + + @Schema(description = "创建时间") + @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN) + private LocalDateTime createTime; + +} \ No newline at end of file