添加了office接口

This commit is contained in:
微凉
2021-01-19 17:20:14 +08:00
parent b9676182c9
commit d18a752732
2 changed files with 23 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func InitApiRouter(engine *gin.Engine) {
v2.POST("/get",controllers.Get)
v2.POST("/list",controllers.List)
v2.POST("/search",controllers.Search)
v2.POST("/office_preview",controllers.OfficePreview)
}
engine.GET("/d/*file_id",controllers.Down)
engine.GET("/cache/:password",controllers.RefreshCache)