Commit d29d71e5 by 吴迪

【修改】修改手机匹配规则

parent c8da72b2
...@@ -177,7 +177,7 @@ public class LogLoginServiceImpl extends ServiceImpl<LogLoginDao, LogLoginEntity ...@@ -177,7 +177,7 @@ public class LogLoginServiceImpl extends ServiceImpl<LogLoginDao, LogLoginEntity
* @return * @return
*/ */
private static boolean matchPhoneNumber(String phoneNumber) { private static boolean matchPhoneNumber(String phoneNumber) {
String regex = "1[358][0-9]{9}"; String regex = "1[345789][0-9]{9}";
if(phoneNumber==null||phoneNumber.length()<=0){ if(phoneNumber==null||phoneNumber.length()<=0){
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment