文件需转化返回内容

This commit is contained in:
junleea 2025-04-10 16:21:31 +08:00
parent 6d4aa34442
commit 0a23a77f78
1 changed files with 4 additions and 0 deletions

View File

@ -375,6 +375,10 @@ func GetFileWillConvertContentFileList(userID int) ([]dao.File, error) {
if fileType == "zip" || fileType == "rar" || fileType == "7z" { if fileType == "zip" || fileType == "rar" || fileType == "7z" {
continue continue
} }
//如果是pptx不返回
if fileType == "pptx" {
continue
}
res = append(res, file) res = append(res, file)
} }
return res, nil return res, nil