实现导出pdf

This commit is contained in:
Minho
2017-05-06 16:16:27 +08:00
parent a438b8104d
commit 9c99e8ea3d
16 changed files with 250 additions and 50 deletions

View File

@@ -58,6 +58,7 @@ func init() {
beego.Router("/docs/:key", &controllers.DocumentController{},"*:Index")
beego.Router("/docs/:key/:id", &controllers.DocumentController{},"*:Read")
beego.Router("/export/:key", &controllers.DocumentController{},"*:Export")
beego.Router("/attach_files/:key/:attach_id",&controllers.DocumentController{},"get:DownloadAttachment")