init
This commit is contained in:
16
app/controllers/NoteContentHistoryController.go
Normal file
16
app/controllers/NoteContentHistoryController.go
Normal file
@ -0,0 +1,16 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user