mindoc/controllers/comment.go

19 lines
267 B
Go
Raw Normal View History

package controllers
type CommentController struct {
BaseController
}
func (c *CommentController) Lists() {
}
2017-05-01 19:12:52 +08:00
func (c *CommentController) Create() {
c.JsonResult(0,"ok")
}
func (c *CommentController) Index() {
c.Prepare()
c.TplName = "comment/index.tpl"
}