Add files via upload

This commit is contained in:
公明
2026-07-23 20:12:31 +08:00
committed by GitHub
parent 9bbc28c14a
commit 9297e6e6ee
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -1340,6 +1340,7 @@ func setupRoutes(
protected.GET("/chat-uploads", chatUploadsHandler.List)
protected.GET("/chat-uploads/export", chatUploadsHandler.Export)
protected.GET("/chat-uploads/download", chatUploadsHandler.Download)
protected.GET("/chat-uploads/path", chatUploadsHandler.ResolvePath)
protected.GET("/chat-uploads/content", chatUploadsHandler.GetContent)
protected.POST("/chat-uploads", chatUploadsHandler.Upload)
protected.POST("/chat-uploads/mkdir", chatUploadsHandler.Mkdir)