diff --git a/backend/src/main/java/io/metersphere/commons/utils/DBEncryptConfig.java b/backend/src/main/java/io/metersphere/commons/utils/DBEncryptConfig.java deleted file mode 100644 index 1ea0dd16c5..0000000000 --- a/backend/src/main/java/io/metersphere/commons/utils/DBEncryptConfig.java +++ /dev/null @@ -1,14 +0,0 @@ -package io.metersphere.commons.utils; - -import org.springframework.stereotype.Component; - -import java.util.Collections; -import java.util.List; - -@Component -public class DBEncryptConfig implements MybatisInterceptorConfigHolder { - @Override - public List interceptorConfig() { - return Collections.emptyList(); - } -} \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/config/DBCompressConfig.java b/backend/src/main/java/io/metersphere/config/DBEncryptConfig.java similarity index 82% rename from backend/src/main/java/io/metersphere/config/DBCompressConfig.java rename to backend/src/main/java/io/metersphere/config/DBEncryptConfig.java index 3e7431a9d1..ddaaff0c4e 100644 --- a/backend/src/main/java/io/metersphere/config/DBCompressConfig.java +++ b/backend/src/main/java/io/metersphere/config/DBEncryptConfig.java @@ -8,12 +8,11 @@ import java.util.Arrays; import java.util.List; @Configuration -public class DBCompressConfig implements MybatisInterceptorConfigHolder { +public class DBEncryptConfig implements MybatisInterceptorConfigHolder { @Override public List interceptorConfig() { return Arrays.asList( new MybatisInterceptorConfig("io.metersphere.base.domain.FileContent", "file", "io.metersphere.commons.utils.CompressUtils", "zip", "unzip") ); -// return Collections.emptyList(); } } \ No newline at end of file