@ -264,7 +264,7 @@ public class FileHandlerService {
|
|||||||
imageUrls.add(imageUrl);
|
imageUrls.add(imageUrl);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
pdfReader = new PdfReader(pdfFilePath); //读取PDF文件
|
pdfReader = new PdfReader(pdfFilePath,filePassword.getBytes()); //读取PDF文件
|
||||||
} catch (Exception e) { //获取异常方法 判断是否有加密字符串
|
} catch (Exception e) { //获取异常方法 判断是否有加密字符串
|
||||||
Throwable[] throwableArray = ExceptionUtils.getThrowables(e);
|
Throwable[] throwableArray = ExceptionUtils.getThrowables(e);
|
||||||
for (Throwable throwable : throwableArray) {
|
for (Throwable throwable : throwableArray) {
|
||||||
|
|||||||
Reference in New Issue
Block a user