[更新]修改公众号授权配置保存机制

This commit is contained in:
邹景立 2018-04-28 16:24:32 +08:00
parent daa06a8e3c
commit 80d4b20384

View File

@ -55,6 +55,7 @@ class Config extends BasicAdmin
if ($this->request->get('appid', false)) {
sysconf('wechat_thr_appid', $data['appid']);
sysconf('wechat_thr_appkey', $data['appkey']);
sysconf('wechat_type', 'thr');
WechatService::config()->setApiNotifyUri($thrNotifyUrl);
}
try {