Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
517f9403c2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user