1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00

Merge pull request #93 from IceWhaleTech/dev

Update route.go
This commit is contained in:
link
2022-01-28 16:25:01 +08:00
committed by GitHub

View File

@ -207,7 +207,7 @@ func InitRouter() *gin.Engine {
v1FileGroup.PUT("/rename", v1.RenamePath)
v1FileGroup.GET("/read", v1.GetFilerContent)
v1FileGroup.POST("/upload", v1.PostFileUpload)
v1FileGroup.GET("/catalog", v1.DirPath)
v1FileGroup.GET("/dirpath", v1.DirPath)
//创建目录
v1FileGroup.POST("/mkdir", v1.MkdirAll)
v1FileGroup.POST("/create", v1.PostCreateFile)