dyjh 6 سال پیش
والد
کامیت
7e586bf1b6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/Http/Controllers/Api/V1/AlbumPosterController.php

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

xqd
@@ -193,8 +193,8 @@ class AlbumPosterController extends Controller
             $editor->text($image_poster, $text, 22, 10, 460 + 50 * $i, new Color("#000000"), $font_bold, 0);
         }
         $editor->open($image_icon, public_path() . '/base/poster/img/phone.png');
-        $editor->resizeExactWidth($image_avatar, 40);
-        $editor->resizeExactHeight($image_avatar, 40);
+        $editor->resizeExactWidth($image_icon, 40);
+        $editor->resizeExactHeight($image_icon, 40);
         $editor->blend($image_poster, $image_icon, 'normal', 1, 'top-left', 10, 570);
         $WeChatApp = AlbumManufacturerModel::where('store_id', $data['store_id'])->first();
         if ($userAuth->is_dealer != 1) {