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