Commit e8650f94 authored by pengfei's avatar pengfei

update 修改isMobile方法验证

parent 79f89fd7
......@@ -41,7 +41,7 @@ class BaseValidate extends Validate
protected function isMobile($value)
{
$rule = '^1(3|4|5|7|8)[0-9]\d{8}$^';
$rule = '^1(3|4|5|6|7|8|9)[0-9]\d{8}$^';
$result = preg_match($rule, $value);
if ($result) {
return true;
......
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