提交 2015f2f5 authored 作者: gongwenjie's avatar gongwenjie

考勤

上级 dfce2325
...@@ -64,9 +64,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -64,9 +64,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.GET,"/pas/department").permitAll() .antMatchers(HttpMethod.GET,"/pas/department").permitAll()
.antMatchers("/pas/user/findUserList/**").permitAll() .antMatchers("/pas/user/findUserList/**").permitAll()
// .requestMatchers(CorsUtils::isPreFlightRequest).permitAll() // .requestMatchers(CorsUtils::isPreFlightRequest).permitAll()
.antMatchers("/pas/user", .antMatchers("/pas/user/**",
"/pas/authority/findAuthority", "/pas/authority/findAuthority",
"/pas/role","/pas/department").hasAnyAuthority("用户管理") "/pas/role","/pas/department").hasAuthority("用户管理")
.antMatchers("/pas/authority").hasAnyAuthority("权限管理") .antMatchers("/pas/authority").hasAnyAuthority("权限管理")
.antMatchers("/pas/config").hasAnyAuthority("考勤管理") .antMatchers("/pas/config").hasAnyAuthority("考勤管理")
.antMatchers("/pas/role").hasAnyAuthority("角色管理") .antMatchers("/pas/role").hasAnyAuthority("角色管理")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论