JM-WechatMini/model/example/exa_breakpoint_continue.go

25 lines
403 B
Go
Raw Permalink Normal View History

2023-11-02 04:34:46 +08:00
package example
import (
"miniapp/global"
)
// file struct, 文件结构体
type ExaFile struct {
global.GVA_MODEL
FileName string
FileMd5 string
FilePath string
ExaFileChunk []ExaFileChunk
ChunkTotal int
IsFinish bool
}
// file chunk struct, 切片结构体
type ExaFileChunk struct {
global.GVA_MODEL
ExaFileID uint
FileChunkNumber int
FileChunkPath string
}