mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-10-07 23:24:30 +08:00
fix FileHandlerService#pdf2jpg npe (github issue #455)
This commit is contained in:
@@ -276,7 +276,7 @@ public class FileHandlerService {
|
||||
}
|
||||
}
|
||||
//判断是否加密文件 加密文件不缓存
|
||||
if (PDF_PASSWORD_MSG.equals(pdfPassword)) {
|
||||
if (!PDF_PASSWORD_MSG.equals(pdfPassword)) {
|
||||
this.addPdf2jpgCache(pdfFilePath, pageCount);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
Reference in New Issue
Block a user