add fm api (#456)

This commit is contained in:
UUBulb authored and GitHub committed 2024-10-25 09:09:08 +08:00
1 parent cda910fb84
commit 800412a2c8
7 files changed
+112 -5

No files matched your search

+3
View File
@@ -62,6 +62,9 @@ func routers(r *gin.Engine) {
auth.POST("/terminal", commonHandler(createTerminal))
auth.GET("/ws/terminal/:id", commonHandler(terminalStream))
auth.GET("/file", commonHandler(createFM))
auth.GET("/ws/file/:id", commonHandler(fmStream))
auth.GET("/user", commonHandler(listUser))
auth.POST("/user", commonHandler(createUser))
auth.POST("/batch-delete/user", commonHandler(batchDeleteUser))