2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
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', '');
|
|
|
|
|
}
|
|
|
|
|
}
|