摘要: 一。思路 1.在pom.xml导入相关包 2.先写个简单的认证适配器(WebSecurityConfig extends WebSecurityConfigurerAdapter),登录拦截后就会跳转到我们想要的页面,不然就会跳转到spring的登录页面 3.写个登录拦截器(LoginInterce 阅读全文
posted @ 2020-05-28 14:34 伏沙金 阅读(1085) 评论(0) 推荐(0) 编辑