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 6a1d899..9b36eea 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 @@ -593,9 +593,8 @@ public class FileServiceImpl extends AbstractService implements IFileService { case "png": contentType = "image/png"; break; + case "blob": case "jpg": - contentType = "image/jpeg"; - break; case "jpeg": contentType = "image/jpeg"; break;