{"comment":{"url":"https://api.github.com/repos/jayjiahua/sysuteam/comments/11398530","html_url":"https://github.com/jayjiahua/sysuteam/commit/435b1ee5a1ba5ec9a0692421fc592c74f379bfa2#commitcomment-11398530","id":11398530,"user":{"login":"jayjiahua","id":9983683,"avatar_url":"https://avatars.githubusercontent.com/u/9983683?v=3","gravatar_id":"","url":"https://api.github.com/users/jayjiahua","html_url":"https://github.com/jayjiahua","followers_url":"https://api.github.com/users/jayjiahua/followers","following_url":"https://api.github.com/users/jayjiahua/following{/other_user}","gists_url":"https://api.github.com/users/jayjiahua/gists{/gist_id}","starred_url":"https://api.github.com/users/jayjiahua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayjiahua/subscriptions","organizations_url":"https://api.github.com/users/jayjiahua/orgs","repos_url":"https://api.github.com/users/jayjiahua/repos","events_url":"https://api.github.com/users/jayjiahua/events{/privacy}","received_events_url":"https://api.github.com/users/jayjiahua/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"435b1ee5a1ba5ec9a0692421fc592c74f379bfa2","created_at":"2015-05-28T02:29:46Z","updated_at":"2015-05-28T02:29:46Z","body":"翻译了文档，不错不错！不过需要改进以下几点\r\n1. 数据库交互逻辑不应该写在modules里面的，modules里面是业务逻辑。数据库交互逻辑应写在dao里面\r\n2. 应该用驼峰命名法，在ls的写法应为get-user-by-id（相应地就会编译成getUserById）\r\n3. 交互逻辑的callback没有用到，而只用了console.log，应该进一步修改成业务逻辑层可用的借口"}}