- 微信公众号增加配置缓存方式

v6 v6.0.45
Chaim 4 years ago
parent 0dd9914d93
commit 9b722dda14

@ -65,6 +65,7 @@ return [
'wechat' => [
// 公众号
'webapp' => [
'cache' => 'file',
'app_id' => '',
'app_secret' => '',
],

@ -131,6 +131,7 @@ class WebAppService extends Service
*/
private function getConfig()
{
$this->cache = $this->app->config->get('dtapp.wechat.webapp.cache');
$this->app_id = $this->app->config->get('dtapp.wechat.webapp.app_id');
$this->app_secret = $this->app->config->get('dtapp.wechat.webapp.app_secret');
return $this;

Loading…
Cancel
Save