1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

修改公众号异常处理

This commit is contained in:
Anyon 2019-12-14 17:16:08 +08:00
parent 67f238ef7c
commit 254f11ad1b
2 changed files with 2 additions and 0 deletions
app/wechat
controller
view/config

@ -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', '');

@ -26,6 +26,7 @@
<div class="layui-input-block">
<button type="button" data-href="{$authurl|default=''}" class="layui-btn layui-btn-primary">重新绑定公众号</button>
<p class="help-block">点击连接将跳转到微信第三方平台进行公众号授权。</p>
{if !empty($message)}<p class="color-red">{$message|default=''}</p>{/if}
</div>
</div>