跟进日志
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package com.cool.store.enums;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @FileName: SmsCodeTypeEnum
|
||||
* @Description: 短信验证码类型
|
||||
* @date 2021-07-20 9:47
|
||||
*/
|
||||
public enum SmsCodeTypeEnum {
|
||||
|
||||
LOGIN("SMS_220325070","验证码登录", 10 * 60),
|
||||
;
|
||||
|
||||
private String templateCode;
|
||||
|
||||
private String message;
|
||||
|
||||
private int cacheSeconds;
|
||||
|
||||
SmsCodeTypeEnum(String templateCode, String message, int cacheSeconds) {
|
||||
this.templateCode = templateCode;
|
||||
this.message = message;
|
||||
this.cacheSeconds = cacheSeconds;
|
||||
}
|
||||
|
||||
public String getTemplateCode() {
|
||||
return templateCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public int getCacheSeconds() {
|
||||
return cacheSeconds;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user