修改blob的content-type为jpg

This commit is contained in:
wenc000 2020-06-17 10:57:23 +08:00
parent 437add4d9f
commit 7d09893634

View File

@ -593,9 +593,8 @@ public class FileServiceImpl extends AbstractService implements IFileService {
case "png": case "png":
contentType = "image/png"; contentType = "image/png";
break; break;
case "blob":
case "jpg": case "jpg":
contentType = "image/jpeg";
break;
case "jpeg": case "jpeg":
contentType = "image/jpeg"; contentType = "image/jpeg";
break; break;