wkhtmltopdf configuration

This commit is contained in:
lealife committed 2015-10-17 19:36:49 +08:00
1 parent 638b5b51e0
commit 103891e0c0
7 files changed
+67 -12

No files matched your search

+1
View File
@@ -585,6 +585,7 @@ func (c ApiNote) GetHistories(noteId string) revel.Result {
// 0.2 新增
// 导出成PDF
// test localhost:9000/api/note/exportPdf?noteId=554f07bf05fcd15fa9000000&token=562211dc99c37ba6a7000001
func (c ApiNote) ExportPdf(noteId string) revel.Result {
re := info.NewApiRe()
userId := c.getUserId()