mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update Config.php
This commit is contained in:
parent
9d897997bb
commit
c2f9f8ed6a
@ -49,9 +49,9 @@ class Config extends Controller
|
||||
WechatService::ThinkServiceConfig()->setApiNotifyUri($this->thrNotify);
|
||||
}
|
||||
$this->wechat = WechatService::ThinkServiceConfig()->getConfig();
|
||||
} catch (\Exception $e) {
|
||||
$this->message = $e->getMessage();
|
||||
} catch (\Exception $exception) {
|
||||
$this->wechat = [];
|
||||
$this->message = $exception->getMessage();
|
||||
}
|
||||
$this->geoip = $this->app->cache->get('mygeoip', '');
|
||||
if (empty($this->geoip)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user