保留一份配置
This commit is contained in:
parent
61715c2d52
commit
ad2dfef8a3
|
@ -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<MybatisInterceptorConfig> interceptorConfig() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
|
@ -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<MybatisInterceptorConfig> interceptorConfig() {
|
||||
return Arrays.asList(
|
||||
new MybatisInterceptorConfig("io.metersphere.base.domain.FileContent", "file", "io.metersphere.commons.utils.CompressUtils", "zip", "unzip")
|
||||
);
|
||||
// return Collections.emptyList();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue