Merge branch 'dev-zhengzhou' into test
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -374,9 +374,11 @@ func (controller *ImportController) Unzip(zipPath, dstDir string) ([]string, err | @@ -374,9 +374,11 @@ func (controller *ImportController) Unzip(zipPath, dstDir string) ([]string, err | ||
| 374 | if err := controller.unzipFile(f, decodeName, dstDir); err != nil { | 374 | if err := controller.unzipFile(f, decodeName, dstDir); err != nil { |
| 375 | return fileNames, err | 375 | return fileNames, err |
| 376 | } else { | 376 | } else { |
| 377 | + if !(f.FileInfo().IsDir()) { | ||
| 377 | fileNames = append(fileNames, decodeName) | 378 | fileNames = append(fileNames, decodeName) |
| 378 | } | 379 | } |
| 379 | } | 380 | } |
| 381 | + } | ||
| 380 | return fileNames, nil | 382 | return fileNames, nil |
| 381 | } | 383 | } |
| 382 | 384 |
-
请 注册 或 登录 后发表评论