1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 12:23:06 +08:00
2021-03-30 11:05:07 +08:00

24 lines
531 B
PHP

<?php
namespace App\Services\Logic\Account;
use App\Services\Logic\Service as LogicService;
class OAuthProvider extends LogicService
{
public function handle()
{
$weixin = $this->getSettings('oauth.weixin');
$weibo = $this->getSettings('oauth.weibo');
$qq = $this->getSettings('oauth.qq');
return [
'weixin' => ['enabled' => $weixin['enabled']],
'weibo' => ['enabled' => $weibo['enabled']],
'qq' => ['enabled' => $qq['enabled']],
];
}
}