refactor: 清理多余字段并重新设计个人中心页面

This commit is contained in:
2026-05-08 23:45:11 +08:00
parent 65fa7146e8
commit 08b4003db8
4 changed files with 194 additions and 490 deletions
-2
View File
@@ -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"`