This commit is contained in:
liyuchun
2022-03-17 16:11:19 +08:00
parent e822d8f7e5
commit b6db2c5c55
+1 -1
View File
@@ -157,7 +157,7 @@ class baseValidater
*/
public static function checkMobile($var)
{
return preg_match("/^1[3-5,7,8]{1}[0-9]{9}$/", $var) ? true : false;
return preg_match("/^1[3-9]{1}[0-9]{9}$/", $var) ? true : false;
}
/**