Commit bbfd0c0e by zhiwj

Merge branch 'developer' of…

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-data-cloud into developer
parents bc4b0883 f41c9e18
...@@ -140,7 +140,7 @@ public class UserApiServiceImpl implements UserApiService{ ...@@ -140,7 +140,7 @@ public class UserApiServiceImpl implements UserApiService{
} }
private static boolean isPhone(String phone) { private static boolean isPhone(String phone) {
String regex = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(17[013678])|(18[0,5-9]))\\d{8}$"; String regex = "^((13[0-9])|(14[0|5|6|7|9])|(15[0-3])|(15[5-9])|(16[6|7])|(17[2|3|5|6|7|8])|(18[0-9])|(19[1|8|9]))\\d{8}$";
if (StringUtils.isBlank(phone) || phone.length() != 11) { if (StringUtils.isBlank(phone) || phone.length() != 11) {
return false; return false;
} else { } else {
......
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