bug修复
This commit is contained in:
parent
d249340727
commit
04d8c9d0f2
@ -298,7 +298,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
.antMatchers("/xmgl/workerAttendance/list").permitAll()
|
||||
.antMatchers("/xmgl/workerInfo/selectPersonTypeAndEduStatistics").permitAll()
|
||||
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
|
||||
.anyRequest().authenticated() // 剩下所有的验证都需要验证
|
||||
.anyRequest().authenticated() // 剩下所有的验证都需要验证.
|
||||
.and()
|
||||
//设置跨域, 如果不设置, 即使配置了filter, 也不会生效
|
||||
.cors()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user