mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Oauth类增加setToken方法
This commit is contained in:
@@ -85,7 +85,7 @@ class Baidu extends Driver{
|
||||
$userInfo['avatar'] = "http://tb.himg.baidu.com/sys/portrait/item/{$data['portrait']}";
|
||||
return $userInfo;
|
||||
} else {
|
||||
throw_exception("获取百度用户信息失败:{$data['error_msg']}");
|
||||
throw new Exception("获取百度用户信息失败:{$data['error_msg']}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user