🔨 修改配置.

This commit is contained in:
lijiahangmax
2025-09-12 17:33:41 +08:00
parent feb379f85f
commit bb243cf195

View File

@@ -85,7 +85,7 @@ public class OrionWebAutoConfiguration implements WebMvcConfigurer {
// 公共 api 前缀
AntPathMatcher antPathMatcher = new AntPathMatcher(".");
configurer.addPathPrefix(orionApiPrefix, clazz -> clazz.isAnnotationPresent(RestController.class)
&& antPathMatcher.match("org.dromara.visor.module.**.controller.**", clazz.getPackage().getName()));
&& antPathMatcher.match("org.dromara.visor.**.controller.**", clazz.getPackage().getName()));
}
@Override