|
|
@@ -33,7 +33,7 @@ class ImageCompressService
|
|
|
if ($width <= $maxWidth && $height <= $maxHeight && $quality >= 90) {
|
|
|
return $sourcePath;
|
|
|
}
|
|
|
-
|
|
|
+ outFileLog($sourcePath,'upload_img','$sourcePath');
|
|
|
// 计算新尺寸
|
|
|
$newSize = self::calculateNewSize($width, $height, $maxWidth, $maxHeight);
|
|
|
$newWidth = $newSize['width'];
|