语音转录

This commit is contained in:
hejinbo
2023-11-29 21:16:38 +08:00
parent 7c665da605
commit 07d80398ae
2 changed files with 25 additions and 22 deletions
@@ -329,9 +329,10 @@ public class VideoServiceImpl implements VideoService {
} catch (IOException e) {
throw new RuntimeException(e);
}
String htmlContent = "<html><body style=\"font-size:12.0pt; font-family:宋体\">" +reservedConferenceVO.getHtmlContent()+"</body></html>";
String htmlContent = "<html><body style=\"font-size:12.0pt; font-family:SimSun;\">" +reservedConferenceVO.getHtmlContent()+"</body></html>";
// html转pdf并上传到服务器
boolean convertFlag = PdfUtils.htmlStringConvertToPDF(RuoYiConfig.getHtml2PDFPath() + currentFileName, htmlContent);
PdfUtils pdfUtils = new PdfUtils();
boolean convertFlag = pdfUtils.htmlStringConvertToPDF(RuoYiConfig.getHtml2PDFPath() + currentFileName, htmlContent);
// 绑定案件
if(convertFlag){