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
|
|
|
|
2014-05-07 13:06:24 +08:00
|
|
|
return c.RenderJson(histories)
|
2015-11-13 17:58:41 +08:00
|
|
|
}
|