From 5216d4b1c57ab6a0e21e6c8ffb90d05aa62dbf7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Tue, 25 Jun 2024 17:20:23 +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 --- .../net/maku/message/entity/SmsPlatformEntity.java | 63 -------------------- .../net/maku/system/entity/SysSmsConfigEntity.java | 68 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 63 deletions(-) delete mode 100644 maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsPlatformEntity.java create mode 100644 maku-boot-system/src/main/java/net/maku/system/entity/SysSmsConfigEntity.java diff --git a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsPlatformEntity.java b/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsPlatformEntity.java deleted file mode 100644 index 71e3e10..0000000 --- a/maku-boot-module/maku-module-message/src/main/java/net/maku/message/entity/SmsPlatformEntity.java +++ /dev/null @@ -1,63 +0,0 @@ -package net.maku.message.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import lombok.Data; -import lombok.EqualsAndHashCode; -import net.maku.framework.mybatis.entity.BaseEntity; - -/** - * 短信平台 - * - * @author 阿沐 babamu@126.com - * MAKU - */ -@Data -@EqualsAndHashCode(callSuper = false) -@TableName("sms_platform") -public class SmsPlatformEntity extends BaseEntity { - /** - * 平台类型 0:阿里云 1:腾讯云 2:七牛云 3:华为云 - */ - private Integer platform; - - /** - * 短信签名 - */ - private String signName; - - /** - * 短信模板 - */ - private String templateId; - - /** - * 短信应用的ID,如:腾讯云等 - */ - private String appId; - - /** - * 腾讯云国际短信、华为云等需要 - */ - private String senderId; - - /** - * 接入地址,如:华为云 - */ - private String url; - - /** - * AccessKey - */ - private String accessKey; - - /** - * SecretKey - */ - private String secretKey; - - /** - * 状态 0:禁用 1:启用 - */ - private Integer status; - -} \ No newline at end of file diff --git a/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsConfigEntity.java b/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsConfigEntity.java new file mode 100644 index 0000000..851d230 --- /dev/null +++ b/maku-boot-system/src/main/java/net/maku/system/entity/SysSmsConfigEntity.java @@ -0,0 +1,68 @@ +package net.maku.system.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.EqualsAndHashCode; +import net.maku.framework.mybatis.entity.BaseEntity; + +/** + * 短信平台 + * + * @author 阿沐 babamu@126.com + * MAKU + */ +@Data +@EqualsAndHashCode(callSuper = false) +@TableName("sys_sms_config") +public class SysSmsConfigEntity extends BaseEntity { + /** + * 平台类型 0:阿里云 1:腾讯云 2:七牛云 3:华为云 + */ + private Integer platform; + + /** + * 分组名称,发送短信时,可指定分组 + */ + private String groupName; + + /** + * 短信签名 + */ + private String signName; + + /** + * 短信模板 + */ + private String templateId; + + /** + * 短信应用的ID,如:腾讯云等 + */ + private String appId; + + /** + * 腾讯云国际短信、华为云等需要 + */ + private String senderId; + + /** + * 接入地址,如:华为云 + */ + private String url; + + /** + * AccessKey + */ + private String accessKey; + + /** + * SecretKey + */ + private String secretKey; + + /** + * 状态 0:禁用 1:启用 + */ + private Integer status; + +} \ No newline at end of file