- 太长了换个行
This commit is contained in:
parent
2b3a92e236
commit
e8e4a4781c
@ -19,8 +19,12 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) // TODO 芋艿,未来可能考虑 REACTIVE
|
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) // TODO 芋艿,未来可能考虑 REACTIVE
|
||||||
@ConditionalOnClass({DispatcherServlet.class, WebMvcConfigurer.class, // 有 Spring MVC 容器
|
@ConditionalOnClass({
|
||||||
AdminSecurityInterceptor.class, AccessLogInterceptor.class}) // 有引入 system-sdk
|
DispatcherServlet.class,
|
||||||
|
WebMvcConfigurer.class, // 有 Spring MVC 容器
|
||||||
|
AdminSecurityInterceptor.class,
|
||||||
|
AccessLogInterceptor.class
|
||||||
|
}) // 有引入 system-sdk
|
||||||
public class AdminMVCAutoConfiguration implements WebMvcConfigurer {
|
public class AdminMVCAutoConfiguration implements WebMvcConfigurer {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
Loading…
Reference in New Issue
Block a user