代码提交分页

This commit is contained in:
2020-08-13 17:47:55 +08:00
parent 1c1cd6edb3
commit e954bc59f2
10 changed files with 201 additions and 87 deletions
@@ -42,8 +42,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{
"/css/**",
"/js/**",
"/images/**",
"/static/**",
"/index/**"
"/static/**"
);
}
/**
@@ -69,7 +68,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter{
.loginProcessingUrl("/login") //登录POST请求路径
.usernameParameter("username") //登录用户名参数
.passwordParameter("password") //登录密码参数
.defaultSuccessUrl("/main") //默认登录成功页面
.defaultSuccessUrl("/index") //默认登录成功页面
.and()
.exceptionHandling()
.accessDeniedHandler(customAccessDeniedHandler) //无权限处理器