From 08b4003db838e295507b2de0cf05f92b59457587 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 8 May 2026 23:45:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B8=85=E7=90=86=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E5=AD=97=E6=AE=B5=E5=B9=B6=E9=87=8D=E6=96=B0=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/model/models.go | 2 - frontend/src/pages/profile/index.vue | 674 ++++++++------------------- frontend/src/plugins/i18n/en.json | 4 +- frontend/src/plugins/i18n/zh.json | 4 +- 4 files changed, 194 insertions(+), 490 deletions(-) diff --git a/backend/internal/model/models.go b/backend/internal/model/models.go index 0c843d0..d98c65b 100644 --- a/backend/internal/model/models.go +++ b/backend/internal/model/models.go @@ -235,8 +235,6 @@ type Version struct { CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` - ForceUpdate bool `gorm:"default:false" json:"force_update,omitempty"` - MinVersion string `gorm:"size:50" json:"-"` Application Application `gorm:"foreignKey:ApplicationID" json:"application,omitempty"` Files []VersionFile `gorm:"foreignKey:VersionID" json:"files,omitempty"` diff --git a/frontend/src/pages/profile/index.vue b/frontend/src/pages/profile/index.vue index da048ba..f3d629c 100644 --- a/frontend/src/pages/profile/index.vue +++ b/frontend/src/pages/profile/index.vue @@ -1,9 +1,10 @@ \ No newline at end of file + + diff --git a/frontend/src/plugins/i18n/en.json b/frontend/src/plugins/i18n/en.json index 6bd530d..82bb53c 100644 --- a/frontend/src/plugins/i18n/en.json +++ b/frontend/src/plugins/i18n/en.json @@ -2593,6 +2593,8 @@ "installSuccess": "Installation successful" }, "profile": { + "title": "Profile", + "description": "Manage your personal information and security settings", "changePassword": "Change Password", "changePasswordDesc": "Enter your current password and new password, minimum 6 characters", "currentPassword": "Current Password", @@ -2631,7 +2633,7 @@ "upgradePlan": "Upgrade Plan", "apiCalls": "API Calls", "storage": "Storage", - "accountStats": "Account Statistics", + "accountOverview": "Account Overview", "lastLogin": "Last Login", "accountStatus": "Account Status", "accountType": "Account Type", diff --git a/frontend/src/plugins/i18n/zh.json b/frontend/src/plugins/i18n/zh.json index 32acd1c..7a37fe8 100644 --- a/frontend/src/plugins/i18n/zh.json +++ b/frontend/src/plugins/i18n/zh.json @@ -2583,6 +2583,8 @@ "installSuccess": "安装成功" }, "profile": { + "title": "个人中心", + "description": "管理您的个人信息和安全设置", "changePassword": "修改密码", "changePasswordDesc": "请输入当前密码和新密码,密码长度至少6位", "currentPassword": "当前密码", @@ -2621,7 +2623,7 @@ "upgradePlan": "升级套餐", "apiCalls": "API 调用", "storage": "存储空间", - "accountStats": "账户统计", + "accountOverview": "账户概览", "lastLogin": "上次登录", "accountStatus": "账户状态", "accountType": "账户类型",