This commit is contained in:
2023-11-09 09:28:06 +08:00
parent d862419277
commit 5e86f2a37b
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ public interface PatternRegex {
/**
* 登录名只能输入3-16位的英文字母或数字
*/
String LOGIN_NAME_REGEX = "^[a-zA-Z0-9_]{3,16}$";
String LOGIN_NAME_REGEX = "[a-zA-Z0-9]{3,16}";
/**
* 手机号必须有11位并且为数字是正常的手机·号码开头