mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
File upload.
This commit is contained in:
@@ -15,7 +15,7 @@ func CreateUploadingFile(filename string, description string, fileSize int64, bl
|
||||
TotalSize: fileSize,
|
||||
BlockSize: blockSize,
|
||||
TempPath: tempPath,
|
||||
Blocks: make(model.UploadingFileBlocks, blocksCount),
|
||||
Blocks: make([]bool, blocksCount),
|
||||
TargetResourceID: resourceID,
|
||||
TargetStorageID: storageID,
|
||||
UserID: userID,
|
||||
|
Reference in New Issue
Block a user