소스 검색

add 国际组织私人导师

leo.xie 4 년 전
부모
커밋
d1d0e41e93
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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'=>[]]);
         }
     }