2014-05-07 13:06:24 +08:00
|
|
|
package controllers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/revel/revel"
|
|
|
|
)
|
|
|
|
|
|
|
|
type NoteContentHistory struct {
|
|
|
|
BaseController
|
|
|
|
}
|
|
|
|
|
|
|
|
// 得到list
|
|
|
|
func (c NoteContentHistory) ListHistories(noteId string) revel.Result {
|
|
|
|
histories := noteContentHistoryService.ListHistories(noteId, c.GetUserId())
|
2015-11-13 17:58:41 +08:00
|
|
|
|
2017-04-08 18:55:42 +08:00
|
|
|
return c.RenderJSON(histories)
|
2015-11-13 17:58:41 +08:00
|
|
|
}
|