diff --git a/docs/architecture/005_architecture_data.json b/docs/architecture/005_architecture_data.json index 6f25fb4..7c6c2eb 100644 --- a/docs/architecture/005_architecture_data.json +++ b/docs/architecture/005_architecture_data.json @@ -12847,7 +12847,7 @@ }, "dbTables": { "_meta": { - "total": 54, + "total": 55, "orm": "Drizzle ORM 0.45", "database": "MySQL", "idStrategy": "CUID2 (varchar length 128)", @@ -13201,6 +13201,13 @@ "columns": 8, "indexes": 1, "foreignKeys": 1 + }, + "systemSettings": { + "owner": "settings", + "description": "系统设置(键值对存储:category + key + value + valueType,P0-3 新增)", + "columns": 7, + "indexes": 2, + "foreignKeys": 0 } } }, @@ -13591,7 +13598,9 @@ "components.ui.card", "components.ui.tabs", "components.ui.alert-dialog", - "components.form-fields" + "components.ui.badge", + "components.form-fields", + "components.locale-switcher" ], "auth": [ "auth" @@ -13614,14 +13623,15 @@ ], "users": [ "data-access.UserProfile", - "data-access.UpdateUserProfileInput" + "data-access.UpdateUserProfileInput", + "data-access.updateUserAvatar" ], "notifications": [ "types.NotificationPreferences", "types.UpdateNotificationPreferencesInput" ] }, - "note": "组件层通过 SettingsService 接口注入解耦,不直接 import messaging/actions;页面层 app/(dashboard)/settings/page.tsx 负责注入 users/actions + messaging/actions 实现" + "note": "组件层通过 SettingsService 接口注入解耦,不直接 import messaging/actions;页面层 app/(dashboard)/settings/page.tsx 负责注入 users/actions + messaging/actions 实现。P0-3/P2-8/P2-9/P2-10/P2-11 已修复:AdminSettingsView 接入真实数据层(system_settings 表)、头像上传、2FA/登录历史、通知测试按钮、语言切换集成。" }, "users": { "dependsOn": [