From 80d4b20384c7143b8f84e6372cb250b76510dbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sat, 28 Apr 2018 16:24:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=85=AC?= =?UTF-8?q?=E4=BC=97=E5=8F=B7=E6=8E=88=E6=9D=83=E9=85=8D=E7=BD=AE=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/wechat/controller/Config.php b/application/wechat/controller/Config.php index 7a332a595..625e261d3 100644 --- a/application/wechat/controller/Config.php +++ b/application/wechat/controller/Config.php @@ -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 {