dyjh 6 년 전
부모
커밋
f89e50400e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);