feat: 微信登录功能开发

This commit is contained in:
wangtaocs
2024-11-29 11:09:56 +08:00
parent d2f240776e
commit d24dafc1fb
14 changed files with 164 additions and 2 deletions

View File

@@ -54,7 +54,11 @@ public class SecurityConfig {
http
.authorizeHttpRequests(requestMatcherRegistry ->
requestMatcherRegistry.requestMatchers(SecurityConstants.LOGIN_PATH).permitAll()
requestMatcherRegistry
.requestMatchers(
SecurityConstants.LOGIN_PATH,
SecurityConstants.WX_LOGIN_PATH)
.permitAll()
.anyRequest().authenticated()
)
.exceptionHandling(httpSecurityExceptionHandlingConfigurer ->