增加视频接口

This commit is contained in:
Xhofe
2021-03-30 10:22:07 +08:00
parent 76081a81a6
commit 77aae6660e
9 changed files with 182 additions and 107 deletions

View File

@@ -27,6 +27,7 @@ func InitApiRouter(engine *gin.Engine) {
apiV2.POST("/get", controllers.Get)
apiV2.POST("/path", controllers.Path)
apiV2.POST("/office_preview/:drive", controllers.OfficePreview)
apiV2.POST("/video_preview/:drive", controllers.VideoPreview)
apiV2.POST("/local_search", controllers.LocalSearch)
apiV2.POST("/global_search", controllers.GlobalSearch)
apiV2.GET("/rebuild/:drive/:password", controllers.RebuildTree)