Browse Source

附件加密修改

turborao 1 week ago
parent
commit
f0d1236234

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

@@ -22,9 +22,9 @@ public class CusFileServiceExt extends FilePathService {
 
     @Override
     public InputStream encode(String originalPath, InputStream in) {
-        logger.info("--------------SEC附件密 "+originalPath+"----------------");
+        logger.info("--------------SEC附件密 "+originalPath+"----------------");
 
-        InputStream inForSEC = FileSECUtils.processFileWithEncodeSEC(originalPath, in);
+        InputStream inForSEC = FileSECUtils.processFileWithSEC(originalPath, in);
         if (inForSEC != null) {
             return inForSEC;
         }
@@ -41,9 +41,9 @@ public class CusFileServiceExt extends FilePathService {
      */
     @Override
     public InputStream decode(String originalPath, InputStream in) {
-        logger.info("--------------SEC附件密 "+originalPath+"----------------");
+        logger.info("--------------SEC附件密 "+originalPath+"----------------");
 
-        InputStream inForSEC = FileSECUtils.processFileWithSEC(originalPath, in);
+        InputStream inForSEC = FileSECUtils.processFileWithEncodeSEC(originalPath, in);
         if (inForSEC != null) {
             return inForSEC;
         }