Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

修复 GitHub 登陆信息无法获取问题 2 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

修复 GitHub 登陆信息无法获取问题 2 #8

wants to merge 1 commit into from

Conversation

AirLind
Copy link

@AirLind AirLind commented Mar 19, 2016

修复 GitHub 登陆错误提示“没有获取到 Github 用户ID!”

修复GITHUB错误提示“没有获取到 Github 用户ID!”
@AirLind AirLind changed the title 修复GITHUB信息无法获取问题 另一个文件 修复GITHUB信息无法获取问题 2 Mar 19, 2016
@AirLind AirLind changed the title 修复GITHUB信息无法获取问题 2 修复 GitHub 登陆信息无法获取问题 2 Mar 19, 2016
@@ -39,10 +39,9 @@ class GithubSDK extends ThinkOauth{
*/
public function call($api, $param = '', $method = 'GET', $multi = false){
/* Github 调用公共参数 */
$params = array();
$header = array("Authorization: bearer {$this->Token['access_token']}");
$params = array('access_token' => $this->Token['access_token']);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接GET

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants