fix: add unique id to task struct to avoid duplicate file name overwrite, close #59

This commit is contained in:
krau
2025-05-09 08:58:30 +08:00
parent 488d709d85
commit ed99a37831
3 changed files with 11 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ type Task struct {
StorageName string
StoragePath string
StartTime time.Time
FileDBID uint
File *File
FileMessageID int