123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace crmeb\services\wechat\config;
- class OpenAppConfig extends OpenWebConfig
- {
-
- public function init()
- {
- if ($this->init) {
- return;
- }
- $this->init = true;
- $this->appId = $this->appId ?: $this->config->getConfig('app.appid', '');
- $this->secret = $this->secret ?: $this->config->getConfig('app.secret', '');
- $this->token = $this->token ?: $this->config->getConfig('app.token', '');
- $this->aesKey = $this->aesKey ?: $this->config->getConfig('app.key', '');
- }
- }
|