|
@@ -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'=>[]]);
|
|
|
}
|
|
|
}
|