From c1b00128e92e7b53a6b92c7228e19235c7f3be10 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 17 十月 2023 15:13:52 +0800
Subject: [PATCH] fix
---
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