Feat: creat uri aria2 download task

This commit is contained in:
HFO4
2020-02-04 15:29:52 +08:00
parent 7804b4efb1
commit fe8f1b1ef5
16 changed files with 238 additions and 16 deletions

View File

@@ -274,7 +274,10 @@ func InitMasterRouter() *gin.Engine {
}
// 离线下载任务
//aria2 := auth.Group("aria2")
aria2 := auth.Group("aria2")
{
aria2.POST("url", controllers.AddAria2URL)
}
// 目录
directory := auth.Group("directory")