|
|
@@ -84,6 +84,7 @@ public class ValidateUtils {
|
|
|
result.setMsg(String.format("密码长度必须大于%s位,小于%s位", PasswordCheckConf.MIN_LENGTH, PasswordCheckConf.MAX_LENGTH));
|
|
|
}
|
|
|
if (result.isSuccess()) {
|
|
|
+ // 是否包含汉字
|
|
|
ValidateResult validateResult = isContainsChinese(passWord);
|
|
|
if (validateResult.isSuccess()) {
|
|
|
result.setSuccess(false);
|