diff --git a/backend/main.py b/backend/main.py index 75a85ec..dc21392 100644 --- a/backend/main.py +++ b/backend/main.py @@ -2099,8 +2099,8 @@ def startup(): for u in all_users: conn.execute( "INSERT INTO notifications (target_role, title, body, target_user_id) VALUES (?, ?, ?, ?)", - ("viewer", "📢 用户名变更通知", - "系统已取消显示名称,统一使用用户名。你可以在个人设置中修改一次用户名。", u["id"]) + ("viewer", "📢 用户名更新提醒", + "为了统一体验,系统已将显示名称合并为用户名。你有一次修改用户名的机会,修改后将不可更改,请慎重选择。", u["id"]) ) conn.commit() print(f"[INIT] Synced display_name for {len(needs_sync)} users") diff --git a/frontend/src/components/UserMenu.vue b/frontend/src/components/UserMenu.vue index 4436293..ad9d090 100644 --- a/frontend/src/components/UserMenu.vue +++ b/frontend/src/components/UserMenu.vue @@ -41,6 +41,8 @@