From 5ea8feb718cefd447802e3ee092a06ae86de0797 Mon Sep 17 00:00:00 2001 From: wangyu <727842003@qq.com> Date: Tue, 19 Sep 2023 21:33:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B8=85=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/group/flyfish/rest/registry/RestApiRegistry.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/rest-proxy-core/src/main/java/group/flyfish/rest/registry/RestApiRegistry.java b/rest-proxy-core/src/main/java/group/flyfish/rest/registry/RestApiRegistry.java index e081520..f1c9d73 100644 --- a/rest-proxy-core/src/main/java/group/flyfish/rest/registry/RestApiRegistry.java +++ b/rest-proxy-core/src/main/java/group/flyfish/rest/registry/RestApiRegistry.java @@ -74,8 +74,6 @@ public class RestApiRegistry implements BeanDefinitionRegistryPostProcessor, Bea // 初始化反射 try { RestServiceComponentProvider scanner = new RestServiceComponentProvider(); - scanner.resetFilters(false); - scanner.addIncludeFilter(new AnnotationTypeFilter(RestService.class)); // 获取扫描器的ClassLoader,保证同源 ClassLoader cl = scanner.getClass().getClassLoader(); for (String packageName : packageNames) {