remove chinese character in english sms message

master
yixian 3 years ago
parent b73be018fa
commit 55e87cddfc

@ -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 %svalid 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;

Loading…
Cancel
Save