|
|
@@ -70,7 +70,7 @@ func DeleteAllUnzipFile(attachment *models.Attachment, parentDir string) { |
|
|
|
log.Info("fileName=" + fileInfo.FileName) |
|
|
|
log.Info("parentDir=" + fileInfo.ParenDir) |
|
|
|
if fileInfo.IsDir { |
|
|
|
DeleteAllUnzipFile(attachment, fileInfo.FileName) |
|
|
|
DeleteAllUnzipFile(attachment, fileInfo.ParenDir) |
|
|
|
} else { |
|
|
|
absolutepath := path.Join(attachment.RelativePath()+attachment.UUID, fileInfo.ParenDir) |
|
|
|
log.Info("absolutepath=" + absolutepath) |
|
|
|