refactor: 微信登录功能代码修改
This commit is contained in:
@@ -57,7 +57,7 @@ public class SecurityConfig {
|
||||
requestMatcherRegistry
|
||||
.requestMatchers(
|
||||
SecurityConstants.LOGIN_PATH,
|
||||
SecurityConstants.WX_LOGIN_PATH)
|
||||
SecurityConstants.WECHAT_LOGIN_PATH)
|
||||
.permitAll()
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user