From 7c8e509c95c2af0c0d076b13fbbc5aa63a06cb69 Mon Sep 17 00:00:00 2001
From: 905086 <k2049@qq.com>
Date: Sat, 07 Nov 2026 19:35:38 +0800
Subject: [PATCH] chore: 删除无用的测试工具及相关文件
---
server/models/models.go | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/server/models/models.go b/server/models/models.go
index 48b2af7..1798138 100644
--- a/server/models/models.go
+++ b/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"`
}
--
Gitblit v1.10.0