1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-25 04:07:17 +08:00

去除无用的auth_url

This commit is contained in:
xiaochong0302 2020-12-23 14:41:30 +08:00
parent 45f1c17ea2
commit b26e00bc18

View File

@ -61,8 +61,7 @@ class Setting extends Service
{
$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_callback']);
$oa['notify_url'] = $oa['notify_url'] ?: kg_full_url(['for' => 'home.wechat.oa.notify']);
return $oa;
}