From e8e4a4781cd6f00f8859b543962b95a16dd286f5 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 23 May 2019 11:00:30 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=A4=AA=E9=95=BF=E4=BA=86=E6=8D=A2?= =?UTF-8?q?=E4=B8=AA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/spring/boot/web/AdminMVCAutoConfiguration.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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