This commit is contained in:
2026-04-08 10:05:25 +08:00
parent 594aa137ef
commit b0e87b3fb3
34 changed files with 128 additions and 54 deletions
+2 -1
View File
@@ -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}$")) {