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"""
-

InsightRadar 邮箱验证

+

聚势智见邮箱验证

您的{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
-

InsightRadar · 热点快报

+

聚势智见 · 热点快报

{delivery_time} · 为你精选了 {event_count} 条事件

{mode_label}
@@ -94,8 +94,8 @@ body{{margin:0;padding:0;background:#0d1117;color:#e6edf3;font-family:-apple-sys {event_cards_html}
diff --git a/backend/app/services/delivery_service.py b/backend/app/services/delivery_service.py index 541dd0f..cec2b38 100644 --- a/backend/app/services/delivery_service.py +++ b/backend/app/services/delivery_service.py @@ -377,7 +377,7 @@ def _prepare_user_push(db: Session, user: AppUser, schedule: UserDeliverySchedul return _PendingPush( user_id=user_id, email_targets=[ep.channel_account for ep in email_endpoints], - subject=f"InsightRadar {subject_suffix} · {time_str}", + subject=f"聚势智见 {subject_suffix} · {time_str}", html_body=html_body, event_ids=event_ids, ) diff --git a/frontend/index.html b/frontend/index.html index ad5abb2..cc7a62f 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - InsightRadar - 全网热点监控中枢 + 聚势智见 - 基于语义聚类与大模型的热点资讯聚合平台 diff --git a/frontend/src/layouts/DashboardLayout.vue b/frontend/src/layouts/DashboardLayout.vue index 61087d6..3003db4 100644 --- a/frontend/src/layouts/DashboardLayout.vue +++ b/frontend/src/layouts/DashboardLayout.vue @@ -57,7 +57,7 @@ function toggleSidebar() { diff --git a/frontend/src/views/AboutView.vue b/frontend/src/views/AboutView.vue index 4b0f3e3..aff26f1 100644 --- a/frontend/src/views/AboutView.vue +++ b/frontend/src/views/AboutView.vue @@ -1,7 +1,7 @@ diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index c3b4587..ba4c576 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -31,7 +31,7 @@ async function handleLogout() {