905086
2026-11-07 0b4478cf6c0eb509c95a9bec2cc7bda37b259e10
server/models/models.go
@@ -52,10 +52,11 @@
type Tool struct {
   ID          uint      `gorm:"primaryKey" json:"id"`
   Name        string    `gorm:"size:100" json:"name"`
   Size        string    `gorm:"size:20" json:"size"`
   Size        string    `gorm:"size:20" json:"size"` // 展示用大小,如 85.2MB
   Cover       string    `gorm:"size:255" json:"cover"`
   Description string    `gorm:"size:500" json:"description"`
   FileURL     string    `gorm:"size:255" json:"file_url"`
   FileURL     string    `gorm:"size:255" json:"file_url"`    // 下载压缩包URL
   LaunchExe   string    `gorm:"size:255" json:"launch_exe"` // 启动程序相对路径(相对解压后目录)
   CreatedAt   time.Time `json:"created_at"`
}