Skip to content

Commit

Permalink
Merge e2b6ec4 into ebbf734
Browse files Browse the repository at this point in the history
  • Loading branch information
kainy committed Apr 24, 2016
2 parents ebbf734 + e2b6ec4 commit d4b0c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ client.getAccessToken('code', function (err, result) {
如果我们生成引导用户点击的URL中`scope`参数值为`snsapi_userinfo`,接下来我们就可以使用`openid`换取用户详细信息(必须在getAccessToken方法执行完成之后)

```js
client.getUser('openid', function (err, result) {
client.getUser(openid, function (err, result) {
var userInfo = result;
});
```
Expand Down

0 comments on commit d4b0c11

Please sign in to comment.