Browse Source

附件加密 有问题,先取消

turborao 1 week ago
parent
commit
797b147bfb

+ 4 - 5
code/base/nckd-jimin-base-helper/src/main/java/nckd/base/helper/CusFileServiceExt.java

@@ -31,7 +31,6 @@ public class CusFileServiceExt extends FilePathService {
         return in;
     }
 
-
     /**
      * 附件解密
      * 先解决附件解密,后面再解决附件加密问题
@@ -43,10 +42,10 @@ public class CusFileServiceExt extends FilePathService {
     public InputStream decode(String originalPath, InputStream in) {
         logger.info("--------------SEC附件加密 "+originalPath+"----------------");
 
-        InputStream inForSEC = FileSECUtils.processFileWithEncodeSEC(originalPath, in);
-        if (inForSEC != null) {
-            return inForSEC;
-        }
+//        InputStream inForSEC = FileSECUtils.processFileWithEncodeSEC(originalPath, in);
+//        if (inForSEC != null) {
+//            return inForSEC;
+//        }
         return in;
     }