Feat: validate / cancel task while downloading file in aria2

This commit is contained in:
HFO4
2020-02-05 12:58:26 +08:00
parent 8c7e3883ee
commit 3ed84ad5ec
7 changed files with 119 additions and 4 deletions

View File

@ -12,7 +12,7 @@ type Task struct {
Type int // 任务类型
UserID uint // 发起者UID0表示为系统发起
Progress int // 进度
Error string // 错误信息
Error string `gorm:"type:text"` // 错误信息
Props string `gorm:"type:text"` // 任务属性
}