Commit 5b3f0220 authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz_index

parents 56947afd 4d2615ff
...@@ -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;
} }
......
This diff is collapsed.
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/1/18 0018
* Time: 下午 2:41
*/
\ No newline at end of file
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