- 新增 QrLoginController、QrLoginService、QrLoginData等类实现扫码登录功能 - 更新邮件模板中的公司名称、网址等信息 - 添加 JWT 配置项 - 优化应用配置文件,启用 Jackson 对 Java 8 时间类型的支持
76 lines
2.2 KiB
YAML
76 lines
2.2 KiB
YAML
# 邮件模板配置文件
|
||
# 用于管理邮件模板的基本信息和品牌设置
|
||
|
||
email:
|
||
templates:
|
||
# 品牌信息
|
||
brand:
|
||
name: "WebSoft"
|
||
company: "南宁市网宿信息科技有限公司"
|
||
description: "企业级数字化解决方案"
|
||
website: "https://websoft.top"
|
||
support_email: "170083662@qq.com"
|
||
logo_url: "https://websoft.top/logo.png"
|
||
|
||
# 链接配置
|
||
links:
|
||
login: "https://websoft.top/login"
|
||
help: "https://websoft.top/help"
|
||
contact: "https://websoft.top/contact"
|
||
security: "https://websoft.top/security"
|
||
|
||
# 模板列表
|
||
templates:
|
||
register-success:
|
||
name: "注册成功邮件"
|
||
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"
|
||
secondary_color: "#764ba2"
|
||
success_color: "#4CAF50"
|
||
warning_color: "#ffa502"
|
||
danger_color: "#ff6b6b"
|
||
info_color: "#4facfe"
|
||
|
||
# 邮件发送配置
|
||
settings:
|
||
retry_times: 3
|
||
timeout: 30000
|
||
fallback_to_text: true
|
||
track_opens: true
|
||
track_clicks: true
|