{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1","id":67300096,"html_url":"https://github.com/node-weixin/node-weixin-auth/pull/1","diff_url":"https://github.com/node-weixin/node-weixin-auth/pull/1.diff","patch_url":"https://github.com/node-weixin/node-weixin-auth/pull/1.patch","issue_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/1","number":1,"state":"closed","locked":false,"title":"index.js的修改","user":{"login":"JoxC","id":7610245,"avatar_url":"https://avatars.githubusercontent.com/u/7610245?v=3","gravatar_id":"","url":"https://api.github.com/users/JoxC","html_url":"https://github.com/JoxC","followers_url":"https://api.github.com/users/JoxC/followers","following_url":"https://api.github.com/users/JoxC/following{/other_user}","gists_url":"https://api.github.com/users/JoxC/gists{/gist_id}","starred_url":"https://api.github.com/users/JoxC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoxC/subscriptions","organizations_url":"https://api.github.com/users/JoxC/orgs","repos_url":"https://api.github.com/users/JoxC/repos","events_url":"https://api.github.com/users/JoxC/events{/privacy}","received_events_url":"https://api.github.com/users/JoxC/received_events","type":"User","site_admin":false},"body":"存在一种情况，token expires之后，tokenize函数失败，但lastTime被更新了，下一次determine的时候，会认为token是有效的，实际上一次并未更新。\r\n修改主要是为避免上述情况。","created_at":"2016-04-21T05:47:12Z","updated_at":"2016-04-22T02:17:01Z","closed_at":"2016-04-22T02:17:01Z","merged_at":"2016-04-22T02:17:01Z","merge_commit_sha":"a64e167482911ad2497e77096258e0b2aaff3712","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1/commits","review_comments_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1/comments","review_comment_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/1/comments","statuses_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/statuses/7ee7fd74cc06b7fcbe4231e8dc3acd0524c4013f","head":{"label":"JoxC:master","ref":"master","sha":"7ee7fd74cc06b7fcbe4231e8dc3acd0524c4013f","user":{"login":"JoxC","id":7610245,"avatar_url":"https://avatars.githubusercontent.com/u/7610245?v=3","gravatar_id":"","url":"https://api.github.com/users/JoxC","html_url":"https://github.com/JoxC","followers_url":"https://api.github.com/users/JoxC/followers","following_url":"https://api.github.com/users/JoxC/following{/other_user}","gists_url":"https://api.github.com/users/JoxC/gists{/gist_id}","starred_url":"https://api.github.com/users/JoxC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoxC/subscriptions","organizations_url":"https://api.github.com/users/JoxC/orgs","repos_url":"https://api.github.com/users/JoxC/repos","events_url":"https://api.github.com/users/JoxC/events{/privacy}","received_events_url":"https://api.github.com/users/JoxC/received_events","type":"User","site_admin":false},"repo":{"id":50080495,"name":"node-weixin-auth","full_name":"JoxC/node-weixin-auth","owner":{"login":"JoxC","id":7610245,"avatar_url":"https://avatars.githubusercontent.com/u/7610245?v=3","gravatar_id":"","url":"https://api.github.com/users/JoxC","html_url":"https://github.com/JoxC","followers_url":"https://api.github.com/users/JoxC/followers","following_url":"https://api.github.com/users/JoxC/following{/other_user}","gists_url":"https://api.github.com/users/JoxC/gists{/gist_id}","starred_url":"https://api.github.com/users/JoxC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoxC/subscriptions","organizations_url":"https://api.github.com/users/JoxC/orgs","repos_url":"https://api.github.com/users/JoxC/repos","events_url":"https://api.github.com/users/JoxC/events{/privacy}","received_events_url":"https://api.github.com/users/JoxC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoxC/node-weixin-auth","description":"node-weixin服务器沟校验模块","fork":true,"url":"https://api.github.com/repos/JoxC/node-weixin-auth","forks_url":"https://api.github.com/repos/JoxC/node-weixin-auth/forks","keys_url":"https://api.github.com/repos/JoxC/node-weixin-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoxC/node-weixin-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoxC/node-weixin-auth/teams","hooks_url":"https://api.github.com/repos/JoxC/node-weixin-auth/hooks","issue_events_url":"https://api.github.com/repos/JoxC/node-weixin-auth/issues/events{/number}","events_url":"https://api.github.com/repos/JoxC/node-weixin-auth/events","assignees_url":"https://api.github.com/repos/JoxC/node-weixin-auth/assignees{/user}","branches_url":"https://api.github.com/repos/JoxC/node-weixin-auth/branches{/branch}","tags_url":"https://api.github.com/repos/JoxC/node-weixin-auth/tags","blobs_url":"https://api.github.com/repos/JoxC/node-weixin-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoxC/node-weixin-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoxC/node-weixin-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoxC/node-weixin-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoxC/node-weixin-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/JoxC/node-weixin-auth/languages","stargazers_url":"https://api.github.com/repos/JoxC/node-weixin-auth/stargazers","contributors_url":"https://api.github.com/repos/JoxC/node-weixin-auth/contributors","subscribers_url":"https://api.github.com/repos/JoxC/node-weixin-auth/subscribers","subscription_url":"https://api.github.com/repos/JoxC/node-weixin-auth/subscription","commits_url":"https://api.github.com/repos/JoxC/node-weixin-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoxC/node-weixin-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoxC/node-weixin-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoxC/node-weixin-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoxC/node-weixin-auth/contents/{+path}","compare_url":"https://api.github.com/repos/JoxC/node-weixin-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoxC/node-weixin-auth/merges","archive_url":"https://api.github.com/repos/JoxC/node-weixin-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoxC/node-weixin-auth/downloads","issues_url":"https://api.github.com/repos/JoxC/node-weixin-auth/issues{/number}","pulls_url":"https://api.github.com/repos/JoxC/node-weixin-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/JoxC/node-weixin-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/JoxC/node-weixin-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoxC/node-weixin-auth/labels{/name}","releases_url":"https://api.github.com/repos/JoxC/node-weixin-auth/releases{/id}","deployments_url":"https://api.github.com/repos/JoxC/node-weixin-auth/deployments","created_at":"2016-01-21T03:51:00Z","updated_at":"2016-01-21T03:51:01Z","pushed_at":"2016-04-21T07:01:35Z","git_url":"git://github.com/JoxC/node-weixin-auth.git","ssh_url":"git@github.com:JoxC/node-weixin-auth.git","clone_url":"https://github.com/JoxC/node-weixin-auth.git","svn_url":"https://github.com/JoxC/node-weixin-auth","homepage":"http://www.node-weixin.com","size":36,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"node-weixin:master","ref":"master","sha":"393608449eb3c5982960770dd071bfe2021356da","user":{"login":"node-weixin","id":13846831,"avatar_url":"https://avatars.githubusercontent.com/u/13846831?v=3","gravatar_id":"","url":"https://api.github.com/users/node-weixin","html_url":"https://github.com/node-weixin","followers_url":"https://api.github.com/users/node-weixin/followers","following_url":"https://api.github.com/users/node-weixin/following{/other_user}","gists_url":"https://api.github.com/users/node-weixin/gists{/gist_id}","starred_url":"https://api.github.com/users/node-weixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-weixin/subscriptions","organizations_url":"https://api.github.com/users/node-weixin/orgs","repos_url":"https://api.github.com/users/node-weixin/repos","events_url":"https://api.github.com/users/node-weixin/events{/privacy}","received_events_url":"https://api.github.com/users/node-weixin/received_events","type":"Organization","site_admin":false},"repo":{"id":40614399,"name":"node-weixin-auth","full_name":"node-weixin/node-weixin-auth","owner":{"login":"node-weixin","id":13846831,"avatar_url":"https://avatars.githubusercontent.com/u/13846831?v=3","gravatar_id":"","url":"https://api.github.com/users/node-weixin","html_url":"https://github.com/node-weixin","followers_url":"https://api.github.com/users/node-weixin/followers","following_url":"https://api.github.com/users/node-weixin/following{/other_user}","gists_url":"https://api.github.com/users/node-weixin/gists{/gist_id}","starred_url":"https://api.github.com/users/node-weixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/node-weixin/subscriptions","organizations_url":"https://api.github.com/users/node-weixin/orgs","repos_url":"https://api.github.com/users/node-weixin/repos","events_url":"https://api.github.com/users/node-weixin/events{/privacy}","received_events_url":"https://api.github.com/users/node-weixin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/node-weixin/node-weixin-auth","description":"node-weixin服务器沟校验模块","fork":false,"url":"https://api.github.com/repos/node-weixin/node-weixin-auth","forks_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/forks","keys_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/teams","hooks_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/hooks","issue_events_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/events{/number}","events_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/events","assignees_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/assignees{/user}","branches_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/branches{/branch}","tags_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/tags","blobs_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/languages","stargazers_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/stargazers","contributors_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/contributors","subscribers_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/subscribers","subscription_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/subscription","commits_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/contents/{+path}","compare_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/merges","archive_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/downloads","issues_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues{/number}","pulls_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/labels{/name}","releases_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/releases{/id}","deployments_url":"https://api.github.com/repos/node-weixin/node-weixin-auth/deployments","created_at":"2015-08-12T17:24:18Z","updated_at":"2016-01-16T18:32:48Z","pushed_at":"2016-04-22T02:17:01Z","git_url":"git://github.com/node-weixin/node-weixin-auth.git","ssh_url":"git@github.com:node-weixin/node-weixin-auth.git","clone_url":"https://github.com/node-weixin/node-weixin-auth.git","svn_url":"https://github.com/node-weixin/node-weixin-auth","homepage":"http://www.node-weixin.com","size":33,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1"},"html":{"href":"https://github.com/node-weixin/node-weixin-auth/pull/1"},"issue":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/1"},"comments":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/node-weixin/node-weixin-auth/statuses/7ee7fd74cc06b7fcbe4231e8dc3acd0524c4013f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"calidion","id":131776,"avatar_url":"https://avatars.githubusercontent.com/u/131776?v=3","gravatar_id":"","url":"https://api.github.com/users/calidion","html_url":"https://github.com/calidion","followers_url":"https://api.github.com/users/calidion/followers","following_url":"https://api.github.com/users/calidion/following{/other_user}","gists_url":"https://api.github.com/users/calidion/gists{/gist_id}","starred_url":"https://api.github.com/users/calidion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calidion/subscriptions","organizations_url":"https://api.github.com/users/calidion/orgs","repos_url":"https://api.github.com/users/calidion/repos","events_url":"https://api.github.com/users/calidion/events{/privacy}","received_events_url":"https://api.github.com/users/calidion/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":7,"additions":8,"deletions":8,"changed_files":1}}