diff --git a/cloud-common-plugin/src/main/java/com/cm/common/plugin/service/file/impl/FileServiceImpl.java b/cloud-common-plugin/src/main/java/com/cm/common/plugin/service/file/impl/FileServiceImpl.java index 24aef54..ffba6c7 100644 --- a/cloud-common-plugin/src/main/java/com/cm/common/plugin/service/file/impl/FileServiceImpl.java +++ b/cloud-common-plugin/src/main/java/com/cm/common/plugin/service/file/impl/FileServiceImpl.java @@ -642,6 +642,9 @@ public class FileServiceImpl extends AbstractService implements IFileService { case "apk": contentType = "application/vnd.android.package-archive"; break; + case "pdf": + contentType = "application/pdf"; + break; default: contentType = "application/octet-stream"; }