diff --git a/common/mall-spring-boot/src/main/java/cn/iocoder/mall/spring/boot/web/AdminMVCAutoConfiguration.java b/common/mall-spring-boot/src/main/java/cn/iocoder/mall/spring/boot/web/AdminMVCAutoConfiguration.java index b83ecbddf..9161d4a2a 100644 --- a/common/mall-spring-boot/src/main/java/cn/iocoder/mall/spring/boot/web/AdminMVCAutoConfiguration.java +++ b/common/mall-spring-boot/src/main/java/cn/iocoder/mall/spring/boot/web/AdminMVCAutoConfiguration.java @@ -19,8 +19,12 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) // TODO 芋艿,未来可能考虑 REACTIVE -@ConditionalOnClass({DispatcherServlet.class, WebMvcConfigurer.class, // 有 Spring MVC 容器 - AdminSecurityInterceptor.class, AccessLogInterceptor.class}) // 有引入 system-sdk +@ConditionalOnClass({ + DispatcherServlet.class, + WebMvcConfigurer.class, // 有 Spring MVC 容器 + AdminSecurityInterceptor.class, + AccessLogInterceptor.class +}) // 有引入 system-sdk public class AdminMVCAutoConfiguration implements WebMvcConfigurer { @Bean