1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-22 19:44:02 +08:00

去除无用的auth_url

This commit is contained in:
xiaochong0302 2020-12-23 14:42:29 +08:00
parent 61218a22c3
commit cce1531337

View File

@ -61,8 +61,7 @@ class Setting extends Service
{ {
$oa = $this->getSettings('wechat.oa'); $oa = $this->getSettings('wechat.oa');
$oa['auth_url'] = $oa['auth_url'] ?: kg_full_url(['for' => 'home.wechat.oa.auth_callback']); $oa['notify_url'] = $oa['notify_url'] ?: kg_full_url(['for' => 'home.wechat.oa.notify']);
$oa['notify_url'] = $oa['notify_url'] ?: kg_full_url(['for' => 'home.wechat.oa.notify_callback']);
return $oa; return $oa;
} }