v1.4.0
This commit is contained in:
parent
521367db70
commit
cc5f8cd58d
|
@ -11,47 +11,47 @@ import net.maku.framework.common.entity.BaseEntity;
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
@TableName("sms_platform")
|
@TableName("sms_platform")
|
||||||
public class SmsPlatformEntity extends BaseEntity {
|
public class SmsPlatformEntity extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 平台类型 0:阿里云 1:腾讯云
|
* 平台类型 0:阿里云 1:腾讯云 2:七牛云 3:华为云
|
||||||
*/
|
*/
|
||||||
private Integer platform;
|
private Integer platform;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 短信签名
|
* 短信签名
|
||||||
*/
|
*/
|
||||||
private String signName;
|
private String signName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 短信模板
|
* 短信模板
|
||||||
*/
|
*/
|
||||||
private String templateId;
|
private String templateId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 短信应用的ID,如:腾讯云等
|
* 短信应用的ID,如:腾讯云等
|
||||||
*/
|
*/
|
||||||
private String appId;
|
private String appId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 腾讯云国际短信、华为云等需要
|
* 腾讯云国际短信、华为云等需要
|
||||||
*/
|
*/
|
||||||
private String senderId;
|
private String senderId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AccessKey
|
* AccessKey
|
||||||
*/
|
*/
|
||||||
private String accessKey;
|
private String accessKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SecretKey
|
* SecretKey
|
||||||
*/
|
*/
|
||||||
private String secretKey;
|
private String secretKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 状态 0:禁用 1:启用
|
* 状态 0:禁用 1:启用
|
||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
}
|
}
|
|
@ -11,14 +11,22 @@ import lombok.Getter;
|
||||||
@Getter
|
@Getter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public enum SmsPlatformEnum {
|
public enum SmsPlatformEnum {
|
||||||
/**
|
/**
|
||||||
* 阿里云
|
* 阿里云
|
||||||
*/
|
*/
|
||||||
ALIYUN(0),
|
ALIYUN(0),
|
||||||
/**
|
/**
|
||||||
* 腾讯云
|
* 腾讯云
|
||||||
*/
|
*/
|
||||||
QCLOUD(1);
|
QCLOUD(1),
|
||||||
|
/**
|
||||||
|
* 七牛云
|
||||||
|
*/
|
||||||
|
QINIU(2),
|
||||||
|
/**
|
||||||
|
* 华为云
|
||||||
|
*/
|
||||||
|
HUAWEI(3);
|
||||||
|
|
||||||
private final int value;
|
private final int value;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user