dyjh 6 роки тому
батько
коміт
30ee8ce433

+ 2 - 0
app/Http/Controllers/Api/V1/AlbumPosterController.php

xqd
@@ -275,6 +275,8 @@ class AlbumPosterController extends Controller
                 return $this->error(0, '参数错误,请检查配置', []);
             }
             $editor->open($image_qrcode, $file);
+            $editor->resizeExactWidth($image_qrcode, 140);
+            $editor->resizeExactHeight($image_qrcode, 140);
         }
 
         $editor->blend($image_poster, $image_qrcode, 'normal', 1, 'top-left', 310, 500);