refactor: 微信登录功能代码修改

This commit is contained in:
wangtaocs
2024-11-29 15:39:43 +08:00
parent d24dafc1fb
commit f04e21e0e5
10 changed files with 17 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ public class SecurityConfig {
requestMatcherRegistry
.requestMatchers(
SecurityConstants.LOGIN_PATH,
SecurityConstants.WX_LOGIN_PATH)
SecurityConstants.WECHAT_LOGIN_PATH)
.permitAll()
.anyRequest().authenticated()
)

View File

@@ -11,8 +11,9 @@ import org.springframework.context.annotation.Configuration;
/**
* 配置微信 appId 和 appSecret
*
* @author wangtao
* @date 2024/11/26 17:28
* @since 2024/11/26 17:28
*/
@Setter
@ConfigurationProperties(prefix = "wechat.miniapp")