fix:修复PDF文件水印用户名不正确问题
This commit is contained in:
@@ -49,7 +49,7 @@ public class WaterMarkUtil {
|
|||||||
|
|
||||||
String configValue = configService.findConfigValueByKey(TsConfigKeyEnum.WATERMARK_PREFIX.getValue());
|
String configValue = configService.findConfigValueByKey(TsConfigKeyEnum.WATERMARK_PREFIX.getValue());
|
||||||
|
|
||||||
return configValue + " " + "测试测试测试中文" + " " + formattedDate;
|
return configValue + " " + userName + " " + formattedDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addWatermarkToPdf(FileInputStream inputStream, HttpServletResponse response) throws IOException {
|
public void addWatermarkToPdf(FileInputStream inputStream, HttpServletResponse response) throws IOException {
|
||||||
|
|||||||
Reference in New Issue
Block a user