From 254f11ad1b1feda8d961c04d59337d366409db5d Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 14 Dec 2019 17:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E4=BC=97=E5=8F=B7?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/controller/Config.php | 1 + app/wechat/view/config/options_thr.html | 1 + 2 files changed, 2 insertions(+) diff --git a/app/wechat/controller/Config.php b/app/wechat/controller/Config.php index 57098c090..e096b658f 100644 --- a/app/wechat/controller/Config.php +++ b/app/wechat/controller/Config.php @@ -50,6 +50,7 @@ class Config extends Controller } $this->wechat = WechatService::ThinkAdminConfig()->getConfig(); } catch (\Exception $e) { + $this->message = $e->getMessage(); $this->wechat = []; } $this->geoip = $this->app->cache->get('mygeoip', ''); diff --git a/app/wechat/view/config/options_thr.html b/app/wechat/view/config/options_thr.html index 8f3793cc8..8411b2ce3 100644 --- a/app/wechat/view/config/options_thr.html +++ b/app/wechat/view/config/options_thr.html @@ -26,6 +26,7 @@

点击连接将跳转到微信第三方平台进行公众号授权。

+ {if !empty($message)}

{$message|default=''}

{/if}