refactor: 修改配置oidc认证源的参数

This commit is contained in:
Captain.B 2021-01-27 13:40:40 +08:00
parent 15f4489cf2
commit 866db48255
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 fa2fa8796ba55b6409238ccda06712f87cfc7886