From 7d09893634667da2e6e583e40bbb4735a4e8af0b Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 17 Jun 2020 10:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9blob=E7=9A=84content-type?= =?UTF-8?q?=E4=B8=BAjpg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cm/common/plugin/service/file/impl/FileServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;