fix: minio缩略图需要特殊配置,这里默认不压缩处理

This commit is contained in:
Chopper711 2023-08-28 13:01:51 +08:00
parent b3f6bad6f8
commit e0d464906e

View File

@ -101,7 +101,7 @@ public class GoodsGalleryServiceImpl extends ServiceImpl<GoodsGalleryMapper, Goo
switch (OssEnum.valueOf(ossSetting.getType())) { switch (OssEnum.valueOf(ossSetting.getType())) {
case MINIO: case MINIO:
//缩略图全路径 //缩略图全路径
return url + "?x-oss-process=style/" + width + "X" + height; return url;
case ALI_OSS: case ALI_OSS:
//缩略图全路径 //缩略图全路径
return url + "?x-oss-process=style/" + width + "X" + height; return url + "?x-oss-process=style/" + width + "X" + height;