完善评论功能

This commit is contained in:
lifei6671
2017-05-01 19:12:52 +08:00
parent e6726562ce
commit 97165256c0
8 changed files with 194 additions and 9 deletions

View File

@@ -59,4 +59,8 @@ func init() {
beego.Router("/docs/:key/:id", &controllers.DocumentController{},"*:Read")
beego.Router("/attach_files/:key/:attach_id",&controllers.DocumentController{},"get:DownloadAttachment")
beego.Router("/comment/create", &controllers.CommentController{},"post:Create")
beego.Router("/comment/lists", &controllers.CommentController{},"get:Lists")
beego.Router("/comment/index", &controllers.CommentController{},"*:Index")
}