moonsflyer 4 месяцев назад
Родитель
Сommit
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'];