1
0

comment.go 266 B

12345678910111213141516171819
  1. package controllers
  2. type CommentController struct {
  3. BaseController
  4. }
  5. func (c *CommentController) Lists() {
  6. }
  7. func (c *CommentController) Create() {
  8. c.JsonResult(0, "ok")
  9. }
  10. func (c *CommentController) Index() {
  11. c.Prepare()
  12. c.TplName = "comment/index.tpl"
  13. }