From 4a598a4d1289039928bab05e14dd5735ad219a0f Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 13 十月 2023 16:48:22 +0800
Subject: [PATCH] bug修改
---
router/file.go | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/router/file.go b/router/file.go
index 60757b4..a44ff23 100644
--- a/router/file.go
+++ b/router/file.go
@@ -11,5 +11,8 @@
{
FileRouter.POST("add", FileApi.Add) // 娣诲姞闄勪欢
FileRouter.DELETE("delete/:id", FileApi.Delete) // 鍒犻櫎闄勪欢
+ //FileRouter.GET("list", FileApi.List) // 闄勪欢鍒楄〃
+ FileRouter.POST("download", FileApi.Download) // 闄勪欢涓嬭浇
+ FileRouter.POST("preview", FileApi.Preview) // 闄勪欢棰勮
}
}
--
Gitblit v1.8.0