|
|
@ -6,7 +6,7 @@ import java.util.Locale;
|
|
|
|
|
|
|
|
|
|
|
|
public class AuthCodeMessageTemplate implements DaasMessageTemplate {
|
|
|
|
public class AuthCodeMessageTemplate implements DaasMessageTemplate {
|
|
|
|
private static final String CN_TPL = "您正在申请%s,验证码为%s,%s分钟内有效,请勿向任何人提供此验证码";
|
|
|
|
private static final String CN_TPL = "您正在申请%s,验证码为%s,%s分钟内有效,请勿向任何人提供此验证码";
|
|
|
|
private static final String EN_TPL = "%s secret code is %s(valid in %s min).No reveal to others";
|
|
|
|
private static final String EN_TPL = "%s secret code is %s (valid in %s min).No reveal to others";
|
|
|
|
private final Locale locale;
|
|
|
|
private final Locale locale;
|
|
|
|
private final AuthCodeMessage register;
|
|
|
|
private final AuthCodeMessage register;
|
|
|
|
|
|
|
|
|
|
|
|