Files
huangjingfen/pro_v3.5.1/crmeb/services/wechat/config/OpenAppConfig.php

31 lines
809 B
PHP
Raw Normal View History

<?php
// +----------------------------------------------------------------------
// | Author: ScottPan Team
// +----------------------------------------------------------------------
namespace crmeb\services\wechat\config;
/**
* 开放平台APP配置
* Class OpenAppConfig
* @package crmeb\services\wechat\config
*/
class OpenAppConfig extends OpenWebConfig
{
/**
* OpenAppConfig constructor.
*/
public function init()
{
if ($this->init) {
return;
}
$this->init = true;
$this->appId = $this->config->getConfig('app.appid', '');
$this->secret = $this->config->getConfig('app.secret', '');
$this->token = $this->config->getConfig('app.token', '');
$this->aesKey = $this->config->getConfig('app.key', '');
}
}