翻译
This commit is contained in:
@@ -48,7 +48,8 @@ class PassportController extends BaseController{
|
||||
{
|
||||
$user = \support\Jwt::getUser();
|
||||
$mobile = input('mobile');
|
||||
$region = input('region');
|
||||
$region = input('region','+86');
|
||||
$region = str_replace('+','',$region);
|
||||
|
||||
// 验证手机号格式
|
||||
if (!$mobile || !Validate::regex($mobile, "^1\d{10}$")) {
|
||||
|
||||
Reference in New Issue
Block a user