From f4d9b2075c93942918960d4774805dab2de34b23 Mon Sep 17 00:00:00 2001 From: stardrophere <1925008984@qq.com> Date: Thu, 2 Apr 2026 01:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/api/endpoints/auth.py | 6 +++--- backend/app/prompts/digest_email_template.py | 6 +++--- backend/app/services/delivery_service.py | 2 +- frontend/index.html | 2 +- frontend/src/layouts/DashboardLayout.vue | 2 +- frontend/src/views/AboutView.vue | 2 +- frontend/src/views/HomeView.vue | 2 +- frontend/src/views/LoginView.vue | 4 ++-- frontend/src/views/RegisterView.vue | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/backend/app/api/endpoints/auth.py b/backend/app/api/endpoints/auth.py index e09d9a9..f01a519 100644 --- a/backend/app/api/endpoints/auth.py +++ b/backend/app/api/endpoints/auth.py @@ -69,7 +69,7 @@ def _normalize_email(email: str) -> str: def _build_verification_email(code: str, purpose_text: str, expire_minutes: int) -> str: return f"""
您的{purpose_text}验证码是:
{code}
该验证码在 {expire_minutes} 分钟内有效。请勿泄露给他人。
@@ -203,7 +203,7 @@ async def send_register_code( await send_html_email( to_email=email, - subject=f"【{code}】InsightRadar 注册验证码", + subject=f"【{code}】聚势智见 注册验证码", html_content=_build_verification_email( code, "注册", REGISTER_CODE_EXPIRE_MINUTES ), @@ -241,7 +241,7 @@ async def send_login_code( await send_html_email( to_email=email, - subject=f"【{code}】InsightRadar 登录验证码", + subject=f"【{code}】聚势智见 登录验证码", html_content=_build_verification_email( code, "登录", LOGIN_CODE_EXPIRE_MINUTES ), diff --git a/backend/app/prompts/digest_email_template.py b/backend/app/prompts/digest_email_template.py index d34ea52..29db03d 100644 --- a/backend/app/prompts/digest_email_template.py +++ b/backend/app/prompts/digest_email_template.py @@ -86,7 +86,7 @@ body{{margin:0;padding:0;background:#0d1117;color:#e6edf3;font-family:-apple-sys{delivery_time} · 为你精选了 {event_count} 条事件
{mode_label}