This commit is contained in:
雷欧(林平凡)
2025-06-16 17:20:05 +08:00
parent 9da48ac245
commit d733f47e92
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ public class SecurityConfig {
.addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class)
.authenticationProvider(provider)
.authorizeHttpRequests(auth -> auth
.requestMatchers("/auth/login", "/auth/captcha").permitAll()
.requestMatchers("/auth/login", "/auth/captcha","wx/message").permitAll()
.anyRequest().authenticated());
return http.build();