moonsflyer пре 4 месеци
родитељ
комит
c2661636b0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common/service/ImageCompressService.php

+ 1 - 1
app/common/service/ImageCompressService.php

@@ -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'];