16 lines
309 B
Go
16 lines
309 B
Go
![]() |
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())
|
||
|
|
||
|
return c.RenderJson(histories)
|
||
|
}
|