angularjs mobile v0.1
This commit is contained in:
1 parent
88ad35e9be
commit
ab5e5c7b76
103 files changed
+12466
-9
No files matched your search
@@ -85,6 +85,11 @@ func (c Note) ListTrashNotes() revel.Result {
|
||||
return c.RenderJson(notes)
|
||||
}
|
||||
|
||||
// 得到note和内容
|
||||
func (c Note) GetNoteAndContent(noteId string) revel.Result {
|
||||
return c.RenderJson(noteService.GetNoteAndContent(noteId, c.GetUserId()))
|
||||
}
|
||||
|
||||
// 得到内容
|
||||
func (c Note) GetNoteContent(noteId string) revel.Result {
|
||||
noteContent := noteService.GetNoteContent(noteId, c.GetUserId())
|
||||
|
||||
Reference in new issue
Block a user