modified 优化手机号正则

This commit is contained in:
zhaoxiang 2019-07-01 11:40:05 +08:00
parent d88b571fc3
commit 2b1f817f5c

View File

@ -114,7 +114,7 @@ class RequestFilter {
}
break;
case DataType::TYPE_MOBILE:
$newRule[$value['field_name'] . '|' . $value['info']]['regex'] = '/^1[34578]\d{9}$/';
$newRule[$value['field_name'] . '|' . $value['info']]['regex'] = '/^1[345789]\d{9}$/';
break;
}
}