feat(remote download): show download node in list page

This commit is contained in:
HFO4
2022-10-30 10:45:25 +08:00
parent 7dda81368d
commit f8ed4b4a5a
4 changed files with 19 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ type Download struct {
// 数据库忽略字段
StatusInfo rpc.StatusInfo `gorm:"-"`
Task *Task `gorm:"-"`
NodeName string `gorm:"-"`
}
// AfterFind 找到下载任务后的钩子处理Status结构