提交 1db10ee6 authored 作者: gongwenjie's avatar gongwenjie

代码修改

上级 0bc24fcb
...@@ -56,6 +56,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -56,6 +56,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
httpSecurity httpSecurity
.cors().and() .cors().and()
.authorizeRequests() .authorizeRequests()
.antMatchers("/pas/user/addGuanLian").permitAll()
.antMatchers("/pas/user").permitAll() .antMatchers("/pas/user").permitAll()
.antMatchers("/pas/user/encryPas").permitAll() .antMatchers("/pas/user/encryPas").permitAll()
.antMatchers(HttpMethod.GET,"/pas/department").permitAll() .antMatchers(HttpMethod.GET,"/pas/department").permitAll()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论