提交 77686a32 authored 作者: gongwenjie's avatar gongwenjie

代码修改

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