|
|
@ -104,7 +104,7 @@ public class CheckUtils { |
|
|
|
* @return true if phone regex valid, otherwise return false |
|
|
|
* @return true if phone regex valid, otherwise return false |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static boolean checkPhone(String phone) { |
|
|
|
public static boolean checkPhone(String phone) { |
|
|
|
return StringUtils.isEmpty(phone) || phone.length() <= 11; |
|
|
|
return StringUtils.isEmpty(phone) || phone.length() == 11; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|