Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
陈景阳
2019-12-05 07:15:07 +08:00
41 changed files with 2260 additions and 519 deletions

View File

@@ -167,7 +167,6 @@ func DeCompress(srcFile *os.File, dstPath string) error {
debug.PrintStack()
continue
}
defer Close(newFile)
// 拷贝该文件到新文件中
if _, err := io.Copy(newFile, srcFile); err != nil {