add ppt type

This commit is contained in:
Looly 2022-10-18 09:20:34 +08:00
parent f6fe00aa69
commit 7fe72ce51b
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
-------------------------------------------------------------------------------------------------------------
# 5.8.9.M1 (2022-10-16)
# 5.8.9.M1 (2022-10-18)
### 🐣新特性
* 【core 】 DateUtil增加isLastDayOfMonth、getLastDayOfMonth方法pr#824@Gitee
@ -14,6 +14,7 @@
* 【core 】 UrlBuilder增加getPortWithDefault方法pr#835@Gitee
* 【core 】 FuncKeyMap的子类传入可被序列化的keyFuncpr#838@Gitee
* 【extra 】 SpringUtil支持SpringBoot3自动配置pr#839@Gitee
* 【core 】 FileTypeUtil增加ppt识别issue#2663@Github
### 🐞Bug修复
* 【poi 】 修复ExcelReader读取只有标题行报错问题issue#I5U1JA@Gitee

View File

@ -166,6 +166,8 @@ public class FileTypeUtil {
typeName = "doc";
} else if ("msi".equalsIgnoreCase(extName)) {
typeName = "msi";
} else if ("ppt".equalsIgnoreCase(extName)) {
typeName = "ppt";
}
} else if ("zip".equals(typeName)) {
// zip可能为docxxlsxpptxjarwarofd等格式扩展名辅助判断