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) .addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class)
.authenticationProvider(provider) .authenticationProvider(provider)
.authorizeHttpRequests(auth -> auth .authorizeHttpRequests(auth -> auth
.requestMatchers("/auth/login", "/auth/captcha").permitAll() .requestMatchers("/auth/login", "/auth/captcha","wx/message").permitAll()
.anyRequest().authenticated()); .anyRequest().authenticated());
return http.build(); return http.build();

View File

@@ -1,5 +1,5 @@
server: server:
port: 8080 port: 6666
spring: spring:
main: main:
allow-circular-references: true allow-circular-references: true