update 文档拆分时,解密文件
This commit is contained in:
@@ -184,8 +184,6 @@ public class FileSpiltService {
|
||||
MultipartFile mFile1 = new MockMultipartFile(fileName, fileName, ContentType.APPLICATION_OCTET_STREAM.toString(), is1);
|
||||
InputStream inputStream = IntekeyUtils.getInputStreamByDecryptFile(mFile);
|
||||
InputStream inputStream1 = IntekeyUtils.getInputStreamByDecryptFile(mFile1);
|
||||
inputStream = inputStream == null ? is : inputStream;
|
||||
inputStream1 = inputStream1 == null ? is1 : inputStream1;
|
||||
ZipSecureFile.setMinInflateRatio(-1.0d);
|
||||
XWPFDocument doc = new XWPFDocument(inputStream);
|
||||
// 获取文档中的图片
|
||||
|
||||
Reference in New Issue
Block a user