pointChange

This commit is contained in:
songzhibin97
2020-11-22 18:05:51 +08:00
parent b45afe9669
commit 1ddd6dac4f
31 changed files with 111 additions and 114 deletions

View File

@@ -42,7 +42,7 @@ func SimpleUploaderUpload(c *gin.Context) {
return
}
chunk.CurrentChunkPath = chunkPath
err = service.SaveChunk(chunk)
err = service.SaveChunk(&chunk)
if err != nil {
global.GVA_LOG.Error("切片创建失败!", zap.Any("err", err))
response.FailWithMessage("切片创建失败", c)
@@ -69,7 +69,7 @@ func CheckFileMd5(c *gin.Context) {
response.OkWithDetailed(gin.H{
"chunks": chunks,
"isDone": isDone,
},"查询成功", c)
}, "查询成功", c)
}
}