fix: 更新带水印下载代码逻辑

This commit is contained in:
zyd
2022-09-22 00:44:10 +08:00
parent 89f6240481
commit 1de8e48996
2 changed files with 87 additions and 1 deletions
@@ -441,7 +441,7 @@ public class AttFileEOController {
String waterContent = userMsg;
//2020年9月5日 去掉水印处理
//2021年7月25日要求下载生成水印
WaterMarkUtil.waterMark(oldFilePath,waterFilePath,waterContent);
WaterMarkUtil.waterMarkNew(oldFilePath,waterFilePath,waterContent);
response.setHeader("Content-Disposition", "attachment;filename=\""+fileOldName+"\"");
response.setContentType("application/octet-stream");