新增华为云短信字段
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,10 +9,10 @@ import java.io.Serializable;
|
|||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 短信平台
|
||||
*
|
||||
* @author 阿沐 babamu@126.com
|
||||
*/
|
||||
* 短信平台
|
||||
*
|
||||
* @author 阿沐 babamu@126.com
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "短信平台")
|
||||
public class SmsPlatformVO implements Serializable {
|
||||
|
@ -36,6 +36,9 @@ public class SmsPlatformVO implements Serializable {
|
|||
@Schema(description = "腾讯云国际短信、华为云等需要")
|
||||
private String senderId;
|
||||
|
||||
@Schema(description = "接入地址,如:华为云")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "AccessKey")
|
||||
private String accessKey;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user