Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

getAccessToken 回调函数的参数疑问? #10

Closed
liudanning opened this issue Sep 15, 2015 · 2 comments
Closed

getAccessToken 回调函数的参数疑问? #10

liudanning opened this issue Sep 15, 2015 · 2 comments

Comments

@liudanning
Copy link

client.getAccessToken(code, function(err, result) {
    console.log(err); //code验证成功的时候,这里输出 token 字符串,为什么不是 null
    callback(null, result);
});
@JacksonTian
Copy link
Member

为什么要是呢?

@liudanning
Copy link
Author

有歧义,所以问问

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

No branches or pull requests

2 participants