|
@@ -162,7 +162,7 @@ public class DefaultPreviewCusServiceImpl implements PreviewService {
|
|
|
if (YunHomeService.isNotNeedDeal(ext)) {
|
|
|
InputStream in = DecodeFileFactory.getDecodeService().getDecodeFileStream(cacheIn);
|
|
|
|
|
|
- in = FileSECUtils.processFileWithSEC(path, in);
|
|
|
+// in = FileSECUtils.processFileWithSEC(path, in);
|
|
|
|
|
|
return YunHomeService.getNotNeedTransferRs(in, ext);
|
|
|
} else {
|
|
@@ -187,7 +187,7 @@ public class DefaultPreviewCusServiceImpl implements PreviewService {
|
|
|
try {
|
|
|
fileStream = this.fileService.download(path, headerMap, new HashMap());
|
|
|
|
|
|
- fileStream = FileSECUtils.processFileWithSEC(path, fileStream);
|
|
|
+// fileStream = FileSECUtils.processFileWithSEC(path, fileStream);
|
|
|
} catch (Exception var11) {
|
|
|
error = var11.getMessage();
|
|
|
}
|
|
@@ -208,9 +208,7 @@ public class DefaultPreviewCusServiceImpl implements PreviewService {
|
|
|
|
|
|
Map var7;
|
|
|
try {
|
|
|
- in = FileSECUtils.processFileWithSEC(path, in);
|
|
|
-
|
|
|
- in = FileSECUtils.processFileWithSEC(path, in);
|
|
|
+// in = FileSECUtils.processFileWithSEC(path, in);
|
|
|
|
|
|
var7 = this.yunHomeService.transferPreviewStream(config, in, fileName, YunHomeService.getIdFromTempCachePreviewUrl(path));
|
|
|
} finally {
|