From 0a23a77f785bcdf22c86b398368103f9e494a73e Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Thu, 10 Apr 2025 16:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=9C=80=E8=BD=AC=E5=8C=96?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/fileService.go | 4 ++++ 1 file changed, 4 insertions(+) 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