增加删除评论

This commit is contained in:
wangbin05
2021-04-03 22:44:43 +08:00
parent 7fb0e66ddc
commit 3d12583eba
7 changed files with 157 additions and 72 deletions

View File

@@ -134,6 +134,7 @@ func init() {
beego.Router("/attach_files/:key/:attach_id", &controllers.DocumentController{}, "get:DownloadAttachment")
beego.Router("/comment/create", &controllers.CommentController{}, "post:Create")
beego.Router("/comment/delete", &controllers.CommentController{}, "post:Delete")
beego.Router("/comment/lists", &controllers.CommentController{}, "get:Lists")
beego.Router("/comment/index", &controllers.CommentController{}, "*:Index")