feat(auth): 添加微信小程序扫码登录功能

- 新增扫码登录接口和相关服务
- 实现微信小程序端扫码登录逻辑
- 更新文档,添加微信小程序扫码登录指南
- 调整微信登录相关接口,使用 release 版本
- 新增 JWT 配置项
This commit is contained in:
2025-09-01 14:39:16 +08:00
parent fabccddab2
commit 9280f6284b
12 changed files with 784 additions and 2 deletions

View File

@@ -48,6 +48,11 @@ config:
server-url: https://server.websoft.top/api
upload-path: /Users/gxwebsoft/JAVA/mp-java/src/main/resources/ # window(D:\Temp)
# JWT配置
jwt:
secret: websoft-jwt-secret-key-2025-dev-environment
expire: 86400 # token过期时间(秒) 24小时
# 开发环境证书配置
certificate:
load-mode: CLASSPATH # 开发环境从classpath加载