fix: minio缩略图需要特殊配置,这里默认不压缩处理
This commit is contained in:
parent
b3f6bad6f8
commit
e0d464906e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user