feat: 重构微信小程序登录模块

This commit is contained in:
Ray.Hao
2026-03-06 23:23:55 +08:00
parent 27a8f0e6a5
commit e69baa6785
15 changed files with 492 additions and 164 deletions

View File

@@ -81,6 +81,7 @@ security:
ignore-urls:
- /api/v1/auth/login/** # 登录接口(账号密码登录、手机验证码登录和微信登录)
- /api/v1/auth/captcha # 验证码获取接口
- /api/v1/auth/sms/code # 发送登录短信验证码
- /api/v1/auth/refresh-token # 刷新令牌接口
- /ws/** # WebSocket接口
# 非安全端点路径,完全绕过 Spring Security 的过滤器
@@ -213,8 +214,5 @@ captcha:
# 微信小程序配置
wx:
miniapp:
appid: your-app-id
secret: your-app-secret
token: your-token
aes-key: your-aes-key
msg-data-format: JSON
appid: xxxxxxx
secret: xxxxxxx