wkhtmltopdf configuration

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

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()