mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-08 03:39:15 -05:00
✨ Support adding the watermark on export PDF https://github.com/siyuan-note/siyuan/issues/9961
This commit is contained in:
@@ -528,7 +528,8 @@ func processPDF(c *gin.Context) {
|
||||
merge = arg["merge"].(bool)
|
||||
}
|
||||
removeAssets := arg["removeAssets"].(bool)
|
||||
err := model.ProcessPDF(id, path, merge, removeAssets)
|
||||
//watermark := arg["watermark"].(bool)
|
||||
err := model.ProcessPDF(id, path, merge, removeAssets, true)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
||||
Reference in New Issue
Block a user