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
254f11ad1b
commit
b176423eff
@ -63,7 +63,11 @@ class Config extends Controller
|
||||
} else {
|
||||
foreach ($this->request->post() as $k => $v) sysconf($k, $v);
|
||||
if ($this->request->post('wechat.type') === 'thr') {
|
||||
WechatService::ThinkAdminConfig()->setApiNotifyUri($this->thrNotify);
|
||||
try {
|
||||
WechatService::ThinkAdminConfig()->setApiNotifyUri($this->thrNotify);
|
||||
} catch (\Exception $exception) {
|
||||
$this->error($exception->getMessage());
|
||||
}
|
||||
}
|
||||
sysoplog('微信管理', '修改微信授权配置成功');
|
||||
$this->success('微信参数修改成功!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user