Feat: slave side list file

This commit is contained in:
HFO4
2020-04-28 10:02:53 +08:00
parent d5fc5745b4
commit 5d579cdadc
6 changed files with 89 additions and 7 deletions

View File

@@ -49,6 +49,8 @@ func InitSlaveRouter() *gin.Engine {
v3.GET("thumb/:path", controllers.SlaveThumb)
// 删除文件
v3.POST("delete", controllers.SlaveDelete)
// 列出文件
v3.POST("list", controllers.SlaveList)
}
return r
}