|
@@ -277,12 +277,9 @@ class Reg extends Base
|
|
|
Dever::alert('请输入正确的邮箱');
|
|
|
}
|
|
|
|
|
|
- $account = Dever::config('base', 'project')->account;
|
|
|
- $code = Dever::config('base', 'project')->nocode ? Dever::config('base', 'project')->nocode : state;
|
|
|
- $baccount = ucfirst($account);
|
|
|
- $method = 'check' . $baccount . 'Exists';
|
|
|
+ $method = 'checkEmailExists';
|
|
|
|
|
|
- $this->$method($code, true);
|
|
|
+ $this->$method(1, true);
|
|
|
|
|
|
$code = $this->code(false, false);
|
|
|
|