From ecd0774318cbf43cc2b32bc80c9b8aef311dc809 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 09 八月 2023 13:49:13 +0800
Subject: [PATCH] merge

---
 router/file.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/router/file.go b/router/file.go
index 3946e5d..a44ff23 100644
--- a/router/file.go
+++ b/router/file.go
@@ -11,6 +11,8 @@
 	{
 		FileRouter.POST("add", FileApi.Add)             // 娣诲姞闄勪欢
 		FileRouter.DELETE("delete/:id", FileApi.Delete) // 鍒犻櫎闄勪欢
-		FileRouter.GET("list", FileApi.List)            // 闄勪欢鍒楄〃
+		//FileRouter.GET("list", FileApi.List)            // 闄勪欢鍒楄〃
+		FileRouter.POST("download", FileApi.Download) // 闄勪欢涓嬭浇
+		FileRouter.POST("preview", FileApi.Preview)   // 闄勪欢棰勮
 	}
 }

--
Gitblit v1.8.0