数据初始化完成
This commit is contained in:
@@ -45,7 +45,7 @@ func FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (err erro
|
||||
func CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error {
|
||||
var chunk model.ExaFileChunk
|
||||
chunk.FileChunkPath = fileChunkPath
|
||||
chunk.ExaFileId = id
|
||||
chunk.ExaFileID = id
|
||||
chunk.FileChunkNumber = fileChunkNumber
|
||||
err := global.GVA_DB.Create(&chunk).Error
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user