🚧 change video preview api

This commit is contained in:
微凉
2021-07-09 23:46:11 +08:00
parent 32ad062b73
commit 34825e1368
6 changed files with 78 additions and 22 deletions

View File

@@ -34,7 +34,7 @@ func InitApiRouter(engine *gin.Engine, download bool) {
if download {
apiV2.POST("/office_preview/:drive", controllers.OfficePreview)
apiV2.POST("/video_preview/:drive", controllers.VideoPreview)
apiV2.POST("/video_preview_play_info/:drive", controllers.VideoPreviewPlayInfo)
engine.GET("/d/*path", controllers.Down)
}
}