feat: get file source link in batch

This commit is contained in:
HFO4
2022-04-29 19:59:25 +08:00
parent 4a4375a796
commit 1038bae238
9 changed files with 73 additions and 37 deletions

View File

@@ -558,7 +558,7 @@ func InitMasterRouter() *gin.Engine {
// 获取缩略图
file.GET("thumb/:id", controllers.Thumb)
// 取得文件外链
file.GET("source/:id", controllers.GetSource)
file.POST("source", controllers.GetSource)
// 打包要下载的文件
file.POST("archive", controllers.Archive)
// 创建文件压缩任务