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