feat(auth): 实现扫码登录功能并优化邮件模板
- 新增 QrLoginController、QrLoginService、QrLoginData等类实现扫码登录功能 - 更新邮件模板中的公司名称、网址等信息 - 添加 JWT 配置项 - 优化应用配置文件,启用 Jackson 对 Java 8 时间类型的支持
This commit is contained in:
@@ -6,19 +6,19 @@ email:
|
||||
# 品牌信息
|
||||
brand:
|
||||
name: "WebSoft"
|
||||
company: "南宁网宿信息科技有限公司"
|
||||
company: "南宁市网宿信息科技有限公司"
|
||||
description: "企业级数字化解决方案"
|
||||
website: "https://www.gxwebsoft.com"
|
||||
website: "https://websoft.top"
|
||||
support_email: "170083662@qq.com"
|
||||
logo_url: "https://www.gxwebsoft.com/logo.png"
|
||||
|
||||
logo_url: "https://websoft.top/logo.png"
|
||||
|
||||
# 链接配置
|
||||
links:
|
||||
login: "https://www.gxwebsoft.com/login"
|
||||
help: "https://www.gxwebsoft.com/help"
|
||||
contact: "https://www.gxwebsoft.com/contact"
|
||||
security: "https://www.gxwebsoft.com/security"
|
||||
|
||||
login: "https://websoft.top/login"
|
||||
help: "https://websoft.top/help"
|
||||
contact: "https://websoft.top/contact"
|
||||
security: "https://websoft.top/security"
|
||||
|
||||
# 模板列表
|
||||
templates:
|
||||
register-success:
|
||||
@@ -26,37 +26,37 @@ email:
|
||||
description: "用户注册成功后发送的欢迎邮件"
|
||||
file: "register-success.html"
|
||||
subject: "恭喜!您的WebSoft账号已注册成功"
|
||||
|
||||
|
||||
password-reset:
|
||||
name: "密码重置邮件"
|
||||
description: "用户密码重置后发送的通知邮件"
|
||||
file: "password-reset.html"
|
||||
subject: "WebSoft密码重置通知"
|
||||
|
||||
|
||||
notification:
|
||||
name: "通用通知邮件"
|
||||
description: "系统通知、公告等通用邮件模板"
|
||||
file: "notification.html"
|
||||
subject: "WebSoft系统通知"
|
||||
|
||||
|
||||
security-alert:
|
||||
name: "安全提醒邮件"
|
||||
description: "账户安全相关的提醒邮件"
|
||||
file: "notification.html"
|
||||
subject: "WebSoft账户安全提醒"
|
||||
|
||||
|
||||
maintenance:
|
||||
name: "系统维护通知"
|
||||
description: "系统维护时发送的通知邮件"
|
||||
file: "notification.html"
|
||||
subject: "WebSoft系统维护通知"
|
||||
|
||||
|
||||
order-status:
|
||||
name: "订单状态更新"
|
||||
description: "订单状态变更时发送的通知邮件"
|
||||
file: "notification.html"
|
||||
subject: "WebSoft订单状态更新"
|
||||
|
||||
|
||||
# 邮件样式配置
|
||||
styles:
|
||||
primary_color: "#667eea"
|
||||
@@ -65,7 +65,7 @@ email:
|
||||
warning_color: "#ffa502"
|
||||
danger_color: "#ff6b6b"
|
||||
info_color: "#4facfe"
|
||||
|
||||
|
||||
# 邮件发送配置
|
||||
settings:
|
||||
retry_times: 3
|
||||
|
||||
Reference in New Issue
Block a user