...
|
...
|
@@ -118,7 +118,11 @@ class LoginController extends WebAction |
|
|
|
|
|
/* 判断参数是否有效 */
|
|
|
$verifyEmail = Helpers::verifyEmail($account);
|
|
|
$verifyMobile = Helpers::verifyAreaMobile(Helpers::makeMobile($area, $account));
|
|
|
if ($area === '86') {
|
|
|
$verifyMobile = Helpers::verifyAreaMobile(Helpers::makeMobile($area, $account));
|
|
|
} else {
|
|
|
$verifyMobile = is_numeric($account);
|
|
|
}
|
|
|
if (!$verifyEmail && !$verifyMobile) {
|
|
|
break;
|
|
|
}
|
...
|
...
|
|