mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
修正oauth类 添加public文件
This commit is contained in:
@@ -36,7 +36,7 @@ class Oauth
|
|||||||
*/
|
*/
|
||||||
public static function connect($type, $options = [])
|
public static function connect($type, $options = [])
|
||||||
{
|
{
|
||||||
$class = 'think\\oauth\\driver\\' . strtolower($type);
|
$class = '\\org\\oauth\\driver\\' . strtolower($type);
|
||||||
self::$handler = new $class($options);
|
self::$handler = new $class($options);
|
||||||
return self::$handler;
|
return self::$handler;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user