作者 tangxvhui
@@ -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