mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 20:52:44 +08:00
* 计划任务执行路径,周期 * !39 修复课程分类未过滤 * 优化第三方登录,修复注册密码加密问题 * !33 开放登录阶段性合并 * !24 修复添加课时后进入编辑页面500错误
24 lines
510 B
PHP
24 lines
510 B
PHP
<?php
|
|
|
|
namespace App\Services\Logic\Account;
|
|
|
|
use App\Services\Logic\Service;
|
|
|
|
class OAuthProvider extends Service
|
|
{
|
|
|
|
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']],
|
|
];
|
|
}
|
|
|
|
}
|