{"comment":{"url":"https://api.github.com/repos/yaswen/Craft/comments/24027591","html_url":"https://github.com/yaswen/Craft/commit/8933064dd2e10277edaf4b58c01fccbfc8c0e876#commitcomment-24027591","id":24027591,"user":{"login":"yaswen","id":17840748,"avatar_url":"https://avatars1.githubusercontent.com/u/17840748?v=4","gravatar_id":"","url":"https://api.github.com/users/yaswen","html_url":"https://github.com/yaswen","followers_url":"https://api.github.com/users/yaswen/followers","following_url":"https://api.github.com/users/yaswen/following{/other_user}","gists_url":"https://api.github.com/users/yaswen/gists{/gist_id}","starred_url":"https://api.github.com/users/yaswen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaswen/subscriptions","organizations_url":"https://api.github.com/users/yaswen/orgs","repos_url":"https://api.github.com/users/yaswen/repos","events_url":"https://api.github.com/users/yaswen/events{/privacy}","received_events_url":"https://api.github.com/users/yaswen/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"8933064dd2e10277edaf4b58c01fccbfc8c0e876","created_at":"2017-09-01T16:00:25Z","updated_at":"2017-09-01T16:00:25Z","author_association":"OWNER","body":"GaAction的buy和sale都根据userName从数据库中取出user对象，用的是UserDao中的静态方法。\r\n各处包括UserDao中加了一些调试用System.out.println的并未删除。\r\n基本可以根据UserDao中的getuserbyusername：冒号后面的内容是不是null来判断此次获取对象是否成功。\r\n现在js使用var userName = '<%=session.getAttribute(\"CurUser\")%>';实现后端向前端传值并且ajax向后端传值。\r\nCurUser是LoginAction获得的用户名。\r\n\r\n"}}
{"actor":{"display_login":"yaswen"}}