摘要: @MapperScan("实体包名") //扫描的mapper@SpringBootApplication(exclude = {org.activiti.spring.boot.SecurityAutoConfiguration.class, SecurityAutoConfiguration.c 阅读全文
posted @ 2019-09-25 11:31 ±小马哥 阅读(278) 评论(0) 推荐(0) 编辑
摘要: @Configurationpublic class SpringBootJSPConfiguration { @Bean public WebServerFactoryCustomizer<TomcatServletWebServerFactory> customizer() { return ( 阅读全文
posted @ 2019-09-25 11:30 ±小马哥 阅读(195) 评论(0) 推荐(0) 编辑
摘要: @Componentpublic class CorsFilter implements Filter { @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throw 阅读全文
posted @ 2019-09-25 11:28 ±小马哥 阅读(469) 评论(0) 推荐(0) 编辑