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/handlers/admin.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/server/handlers/admin.go b/server/handlers/admin.go
index cd59794..85dbb39 100644
--- a/server/handlers/admin.go
+++ b/server/handlers/admin.go
@@ -196,6 +196,7 @@
 		Cover       string `json:"cover"`
 		Description string `json:"description"`
 		FileURL     string `json:"file_url"`
+		LaunchExe   string `json:"launch_exe"`
 	}
 	if err := c.ShouldBindJSON(&req); err != nil || strings.TrimSpace(req.Name) == "" {
 		c.JSON(http.StatusOK, gin.H{"code": 1, "msg": "请填写工具名称"})
@@ -215,6 +216,7 @@
 	tool.Cover = req.Cover
 	tool.Description = req.Description
 	tool.FileURL = req.FileURL
+	tool.LaunchExe = req.LaunchExe
 	if req.ID > 0 {
 		config.DB.Save(&tool)
 	} else {

--
Gitblit v1.10.0