Authored by 徐祁xuqi

Merge remote-tracking branch 'origin/hotfix/imgQu'

... ... @@ -62,7 +62,8 @@ class Helpers
*/
public static function getImageUrl($url, $width, $height, $mode = 2)
{
return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70');
// return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70');
return self::getUrlSafe(strtr($url, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)));
}
/**
... ...
... ... @@ -77,7 +77,8 @@ class Images
if (stripos($fileName, 'http://') !== 0) {
$fileName = self::template($fileName, $bucket, $mode);
}
return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70');
// return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)) . '/q/70');
return Helpers::getUrlSafe(strtr($fileName, array('{width}' => $width, '{height}' => $height, '{mode}' => $mode)));
}
/**
... ...