This commit is contained in:
fit2-zhao 2021-01-27 14:15:41 +08:00
commit 90e57f12d8
3 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@ package io.metersphere.config;
import com.github.pagehelper.PageInterceptor; import com.github.pagehelper.PageInterceptor;
import io.metersphere.base.domain.ApiTestReportDetail; import io.metersphere.base.domain.ApiTestReportDetail;
import io.metersphere.base.domain.AuthSource;
import io.metersphere.base.domain.FileContent; import io.metersphere.base.domain.FileContent;
import io.metersphere.base.domain.TestResource; import io.metersphere.base.domain.TestResource;
import io.metersphere.commons.utils.CompressUtils; import io.metersphere.commons.utils.CompressUtils;
@ -45,6 +46,7 @@ public class MybatisConfig {
configList.add(new MybatisInterceptorConfig(FileContent.class, "file", CompressUtils.class, "zip", "unzip")); configList.add(new MybatisInterceptorConfig(FileContent.class, "file", CompressUtils.class, "zip", "unzip"));
configList.add(new MybatisInterceptorConfig(ApiTestReportDetail.class, "content", CompressUtils.class, "compress", "decompress")); configList.add(new MybatisInterceptorConfig(ApiTestReportDetail.class, "content", CompressUtils.class, "compress", "decompress"));
configList.add(new MybatisInterceptorConfig(TestResource.class, "configuration")); configList.add(new MybatisInterceptorConfig(TestResource.class, "configuration"));
configList.add(new MybatisInterceptorConfig(AuthSource.class, "configuration"));
interceptor.setInterceptorConfigList(configList); interceptor.setInterceptorConfigList(configList);
return interceptor; return interceptor;
} }

@ -1 +1 @@
Subproject commit bb9c0309161c91bf7d0a9f85cc44bc0eb0fc11ac Subproject commit 387ca56312b62ae5edb3d7f34afa08946d86d621

@ -1 +1 @@
Subproject commit 3a3363c7d651f340cc37fca74c1edb92af484915 Subproject commit 2b0af7c05f8148046fd17e4f2c06129367d69ac9