new files
This commit is contained in:
36
pro_v3.5.1/crmeb/services/wechat/config/OpenAppConfig.php
Normal file
36
pro_v3.5.1/crmeb/services/wechat/config/OpenAppConfig.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2026 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
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', '');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user