Skip to content

Commit

Permalink
应该是变量~。 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainy authored and JacksonTian committed Apr 25, 2016
1 parent ebbf734 commit 5311c14
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 5311c14

Please sign in to comment.