leanote v1.1 release

This commit is contained in:
lealife
2015-10-10 17:23:27 +08:00
parent a4d9d8e0d3
commit cb7e272bbe
15 changed files with 117 additions and 402 deletions

View File

@ -70,6 +70,7 @@ func (c ApiNote) GetNotes(notebookId string) revel.Result {
func (c ApiNote) GetTrashNotes() revel.Result {
_, notes := noteService.ListNotes(c.getUserId(), "", true, c.GetPage(), pageSize, defaultSortField, false, false)
return c.RenderJson(noteService.ToApiNotes(notes))
}
// get Note