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}