| | |
| | | private final StorageProperties storageProperties; |
| | | private final LlmProperties llmProperties; |
| | | private final ObjectMapper objectMapper; |
| | | private final com.custom.webui.util.PdfFontSupport pdfFontSupport; |
| | | |
| | | // ------------------------------------------------------------------ |
| | | // 一、存储位置 |
| | |
| | | log.info(" 配置值 : {}", storageProperties.getLocation()); |
| | | log.info(" 实际上传目录 : {}", uploadRoot); |
| | | log.info(" 目录状态 : {}", describe(uploadRoot)); |
| | | // 顺便报一下 PDF 导出的字体:找不到中文字体时 PDF 导出会失败, |
| | | // 而这件事在启动时说一句,比等用户点了「下载 PDF」再报错友好得多 |
| | | log.info(" 导出自检 : {}", pdfFontSupport.describe()); |
| | | log.info("=".repeat(66)); |
| | | } |
| | | |