dyjh hace 6 años
padre
commit
f89e50400e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      app/Http/Controllers/Api/V1/AlbumPosterController.php

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

xqd
@@ -216,6 +216,8 @@ class AlbumPosterController extends Controller
             $phone = $agent_check->phone;
         }
         $editor->text($image_poster, $phone, 20, 55, 575, new Color("#eb7a48"), $font, 0);
+        $editor->resizeExactWidth($image_avatar, 40);
+        $editor->resizeExactHeight($image_avatar, 40);
         $editor->text($image_poster, '长按识别二维码 展示家具画册', 16, 10, 650, new Color("#666666"), $font, 0);
         $editor->open($image_qrcode, str_replace(env('CDN_URL'), public_path(), $info['qrcode']));
         $editor->resizeExactWidth($image_qrcode, 140);