dever 6 年之前
父節點
當前提交
a10b0ea0ef
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/Reg.php

+ 7 - 0
src/Reg.php

@@ -277,6 +277,13 @@ class Reg extends Base
                 Dever::alert('请输入正确的邮箱');
                 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);
             $code = $this->code(false, false);
 
 
             $email = base64_encode($email);
             $email = base64_encode($email);