mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改公众号异常处理
This commit is contained in:
parent
67f238ef7c
commit
254f11ad1b
app/wechat
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user