|
@@ -277,6 +277,13 @@ 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';
|
|
|
+
|
|
|
+ $this->$method($code, true);
|
|
|
+
|
|
|
$code = $this->code(false, false);
|
|
|
|
|
|
$email = base64_encode($email);
|