Merge branch 'master' of 47.111.118.107:/srv/git/platform

master
ELF 5 years ago
commit 0c3cc6e0bf

@ -370,7 +370,7 @@ class UserController extends BaseController
break;
}
if (!preg_match("/^1[34578]\d{9}$/", $phone)) {
if (!preg_match("/^1[345789]\d{9}$/", $phone)) {
echo json_encode(['status' => 0, 'msg' => '手机号格式不正确']);
die;
}

Loading…
Cancel
Save