diff --git a/service/fileService.go b/service/fileService.go index 15d3ec6..f95654a 100644 --- a/service/fileService.go +++ b/service/fileService.go @@ -375,6 +375,10 @@ func GetFileWillConvertContentFileList(userID int) ([]dao.File, error) { if fileType == "zip" || fileType == "rar" || fileType == "7z" { continue } + //如果是pptx不返回 + if fileType == "pptx" { + continue + } res = append(res, file) } return res, nil