Browse Source

add 国际组织私人导师

leo.xie 4 years ago
parent
commit
d1d0e41e93
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/expand/controller/Email.php

+ 3 - 3
application/expand/controller/Email.php

@@ -11,14 +11,14 @@ use think\Validate;
  */
 class Email extends BaseAuth
 {
-    private $_baiDuAccount = null;
+    private $_Account = null;
 
     public function __construct(){
         parent::__construct();
 
-        $this->_baiDuAccount = $this->getKey($this->_apiCode);
+        $this->_Account = $this->getKey($this->_apiCode);
         //验证是否具有访问这个接口的权限
-        if(!isset($this->_baiDuAccount['email_auth'])){
+        if(!isset($this->_Account['email_auth'])){
             HelperService::returnJson(['code'=>400,'msg'=>'email interface unauthorized access','data'=>[]]);
         }
     }