Commit e9f96187 authored by zhz's avatar zhz

image

parent 40411856
...@@ -131,7 +131,7 @@ class ImageUtil { ...@@ -131,7 +131,7 @@ class ImageUtil {
} }
$goodsImg = \Our\Common::getStaticFile($goodsImg,$directory); $goodsImg = \Our\Common::getStaticFile($goodsImg,$directory);
if($width > 0) { if($width > 0) {
$goodsImg .= "?x-oss-process=image/resize,m_fill,h_{$height},w_{$width}"; $goodsImg .= "?x-oss-process=image/resize,m_pad,h_{$height},w_{$width}";
} }
return $goodsImg; return $goodsImg;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment