feat: 给websocket的请求放行

This commit is contained in:
weihongyang 2022-06-29 16:32:20 +08:00
джерело 6d792317dd
коміт e277f2a32e

@ -71,6 +71,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/swagger-resources/**",
"/swagger-ui/**",
"/webjars/**",
"/websocket/**",
"/captcha").anonymous()
// .antMatchers("/testCors").hasAuthority("system:dept:list222")
// 除上面外的所有请求全部需要鉴权认证