新增华为云短信字段
This commit is contained in:
parent
a40c0e273d
commit
ebda373ac8
|
@ -30,6 +30,7 @@ CREATE TABLE sms_platform
|
|||
template_id varchar(100) NOT NULL COMMENT '短信模板',
|
||||
app_id varchar(100) NOT NULL COMMENT '短信应用ID,如:腾讯云等',
|
||||
sender_id varchar(100) NOT NULL COMMENT '腾讯云国际短信、华为云等需要',
|
||||
url varchar(200) NOT NULL COMMENT '接入地址,如:华为云',
|
||||
access_key varchar(100) COMMENT 'AccessKey',
|
||||
secret_key varchar(100) COMMENT 'SecretKey',
|
||||
status tinyint COMMENT '状态 0:禁用 1:启用',
|
||||
|
|
|
@ -40,6 +40,11 @@ public class SmsPlatformEntity extends BaseEntity {
|
|||
private String senderId;
|
||||
|
||||
/**
|
||||
* 接入地址,如:华为云
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* AccessKey
|
||||
*/
|
||||
private String accessKey;
|
||||
|
|
|
@ -40,6 +40,11 @@ public class SmsConfig {
|
|||
private String senderId;
|
||||
|
||||
/**
|
||||
* 接入地址,如:华为云
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* AccessKey
|
||||
*/
|
||||
private String accessKey;
|
||||
|
|
|
@ -9,44 +9,47 @@ import java.io.Serializable;
|
|||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 短信平台
|
||||
*
|
||||
* @author 阿沐 babamu@126.com
|
||||
*/
|
||||
* 短信平台
|
||||
*
|
||||
* @author 阿沐 babamu@126.com
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "短信平台")
|
||||
public class SmsPlatformVO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "id")
|
||||
private Long id;
|
||||
@Schema(description = "id")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "平台类型 0:阿里云 1:腾讯云")
|
||||
private Integer platform;
|
||||
@Schema(description = "平台类型 0:阿里云 1:腾讯云")
|
||||
private Integer platform;
|
||||
|
||||
@Schema(description = "短信签名")
|
||||
private String signName;
|
||||
@Schema(description = "短信签名")
|
||||
private String signName;
|
||||
|
||||
@Schema(description = "短信模板")
|
||||
private String templateId;
|
||||
@Schema(description = "短信模板")
|
||||
private String templateId;
|
||||
|
||||
@Schema(description = "短信应用的ID,如:腾讯云等")
|
||||
private String appId;
|
||||
@Schema(description = "短信应用的ID,如:腾讯云等")
|
||||
private String appId;
|
||||
|
||||
@Schema(description = "腾讯云国际短信、华为云等需要")
|
||||
private String senderId;
|
||||
@Schema(description = "腾讯云国际短信、华为云等需要")
|
||||
private String senderId;
|
||||
|
||||
@Schema(description = "AccessKey")
|
||||
private String accessKey;
|
||||
@Schema(description = "接入地址,如:华为云")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "SecretKey")
|
||||
private String secretKey;
|
||||
@Schema(description = "AccessKey")
|
||||
private String accessKey;
|
||||
|
||||
@Schema(description = "状态 0:禁用 1:启用")
|
||||
private Integer status;
|
||||
@Schema(description = "SecretKey")
|
||||
private String secretKey;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
|
||||
private Date createTime;
|
||||
@Schema(description = "状态 0:禁用 1:启用")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
|
||||
private Date createTime;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user