mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
增加了断点续传插件版 保留原始版本供学习原理使用
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
type ExaSimpleUploader struct {
|
||||
ChunkNumber string `json:"chunkNumber" gorm:"comment:'当前切片标记'"`
|
||||
CurrentChunkSize string `json:"currentChunkSize" gorm:"comment:'当前切片容量'"`
|
||||
CurrentChunkPath string `json:"currentChunkPath" gorm:"comment:'切片本地路径'"`
|
||||
TotalSize string `json:"totalSize" gorm:"comment:'总容量'"`
|
||||
Identifier string `json:"identifier" gorm:"comment:'文件标识(md5)'"`
|
||||
Filename string `json:"filename" gorm:"comment:'文件名'"`
|
||||
TotalChunks string `json:"totalChunks" gorm:"comment:'切片总数'"`
|
||||
IsDone bool `json:"isDone" gorm:"comment:'是否上传完成'"`
|
||||
FilePath string `json:"filePath" gorm:"comment:'文件本地路径'"`
|
||||
}
|
||||
Reference in New Issue
Block a user