实现文件上传

This commit is contained in:
2026-06-06 17:22:01 +08:00
parent 1b39b2d411
commit b00782b3f6
10 changed files with 398 additions and 7 deletions

View File

@@ -300,6 +300,7 @@ func adminRouter(api fiber.Router) {
article.Post("/create", handlers.CreateArticle)
article.Post("/update", handlers.UpdateArticle)
article.Post("/remove", handlers.DeleteArticle)
article.Post("/upload", handlers.UploadArticleImage)
// article-group 文档分组
var articleGroup = api.Group("/article-group")