From 61443bcd5245cd0669f0dedc89243994411a7f66 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 08 十一月 2023 14:14:44 +0800 Subject: [PATCH] 附件上传接口,交互文件服务器,缩略图制作 --- router/router.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/router/router.go b/router/router.go index b4dac9f..27e49d9 100644 --- a/router/router.go +++ b/router/router.go @@ -155,5 +155,11 @@ reorderRuleAPI.POST("orderAgain", reorderRuleController.OrderAgain) //鍐嶈涓�娆� } + attachmentController := new(controllers.AttachmentController) + attachmentAPI := r.Group(urlPrefix + "/attachment") + { + attachmentAPI.POST("uploadFiles", attachmentController.UploadFiles) //涓婁紶鏂囦欢 + } + return r } -- Gitblit v1.8.0