feat():Socket

This commit is contained in:
Penknife
2025-01-10 08:59:54 +08:00
parent ff96a7ff2e
commit d2c7766624
6 changed files with 86 additions and 2 deletions

View File

@@ -115,6 +115,8 @@ public class SecurityConfig
// 静态资源,可匿名访问
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
.antMatchers("/doc.html","/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
//websocket
.antMatchers("/websocket/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated();
})