{"action":"created","issue":{"url":"https://api.github.com/repos/eggjs/egg/issues/1700","repository_url":"https://api.github.com/repos/eggjs/egg","labels_url":"https://api.github.com/repos/eggjs/egg/issues/1700/labels{/name}","comments_url":"https://api.github.com/repos/eggjs/egg/issues/1700/comments","events_url":"https://api.github.com/repos/eggjs/egg/issues/1700/events","html_url":"https://github.com/eggjs/egg/pull/1700","id":275976141,"number":1700,"title":"docs: use app.router.verb instead of app.verb, use async function","user":{"login":"dead-horse","id":985607,"avatar_url":"https://avatars3.githubusercontent.com/u/985607?v=4","gravatar_id":"","url":"https://api.github.com/users/dead-horse","html_url":"https://github.com/dead-horse","followers_url":"https://api.github.com/users/dead-horse/followers","following_url":"https://api.github.com/users/dead-horse/following{/other_user}","gists_url":"https://api.github.com/users/dead-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/dead-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dead-horse/subscriptions","organizations_url":"https://api.github.com/users/dead-horse/orgs","repos_url":"https://api.github.com/users/dead-horse/repos","events_url":"https://api.github.com/users/dead-horse/events{/privacy}","received_events_url":"https://api.github.com/users/dead-horse/received_events","type":"User","site_admin":false},"labels":[{"id":424356256,"url":"https://api.github.com/repos/eggjs/egg/labels/type:%20document","name":"type: document","color":"D4C5F9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-22T08:04:35Z","updated_at":"2017-11-22T08:13:03Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/eggjs/egg/pulls/1700","html_url":"https://github.com/eggjs/egg/pull/1700","diff_url":"https://github.com/eggjs/egg/pull/1700.diff","patch_url":"https://github.com/eggjs/egg/pull/1700.patch"},"body":"<!--\r\nThank you for your pull request. Please review below requirements.\r\nBug fixes and new features should include tests and possibly benchmarks.\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n\r\n感谢您贡献代码。请确认下列 checklist 的完成情况。\r\nBug 修复和新功能必须包含测试，必要时请附上性能测试。\r\nContributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [ ] `npm test` passes\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [ ] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n<!-- Provide affected core subsystem(s). -->\r\n\r\n\r\n##### Description of change\r\n<!-- Provide a description of the change below this comment. -->\r\n"},"comment":{"url":"https://api.github.com/repos/eggjs/egg/issues/comments/346274397","html_url":"https://github.com/eggjs/egg/pull/1700#issuecomment-346274397","issue_url":"https://api.github.com/repos/eggjs/egg/issues/1700","id":346274397,"user":{"login":"atian25","id":227713,"avatar_url":"https://avatars2.githubusercontent.com/u/227713?v=4","gravatar_id":"","url":"https://api.github.com/users/atian25","html_url":"https://github.com/atian25","followers_url":"https://api.github.com/users/atian25/followers","following_url":"https://api.github.com/users/atian25/following{/other_user}","gists_url":"https://api.github.com/users/atian25/gists{/gist_id}","starred_url":"https://api.github.com/users/atian25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atian25/subscriptions","organizations_url":"https://api.github.com/users/atian25/orgs","repos_url":"https://api.github.com/users/atian25/repos","events_url":"https://api.github.com/users/atian25/events{/privacy}","received_events_url":"https://api.github.com/users/atian25/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T08:13:03Z","updated_at":"2017-11-22T08:13:03Z","author_association":"OWNER","body":"这样？\r\n\r\n```js\r\nconst { controller, router } = app;\r\nrouter.get('/', controller.home.index);\r\n```"}}
{"actor":{"display_login":"atian25"}}