This commit is contained in:
18792927508
2023-11-30 15:16:59 +08:00
parent 8acb479047
commit 1b7f380867
4 changed files with 4 additions and 7 deletions
@@ -142,7 +142,7 @@ public class RuoYiConfig
}
public static String getHtml2PDFPath()
{
return getProfile() + "/upload/html2PDF/";
return getProfile() + "/upload/html2PDF";
}
// https://1304001529.vod-qcloud.com/b78823bbvodcq1304001529/3ce565bf3270835011486046286/f0.mp4
}
@@ -36,9 +36,6 @@ public class PdfUtils {
Document document = new Document();
PdfWriter writer = null;
try {
// if(!new File(pdfFilePath).exists()){
// new File(pdfFilePath).createNewFile();
// }
writer = PdfWriter.getInstance(document, new FileOutputStream(pdfFilePath));
// 设置底部距离60,解决重叠问题