register open option

This commit is contained in:
life
2014-05-07 20:31:30 +08:00
parent d5928b06cf
commit 4a6381bf5d
17 changed files with 370 additions and 331 deletions

View File

@ -32,6 +32,8 @@ func (c Note) Index() revel.Result {
return c.Redirect("/login")
}
c.RenderArgs["openRegister"] = openRegister
// 已登录了, 那么得到所有信息
notebooks := notebookService.GetNotebooks(userId)
shareNotebooks, sharedUserInfos := shareService.GetShareNotebooks(userId)