From 30ecf91d875042d461457cdade7b55113a8ec4ab Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期三, 09 八月 2023 14:30:59 +0800 Subject: [PATCH] Merge branch 'master' into fly --- 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