dyjh 6 years ago
parent
commit
04f6f922b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumPosterController.php

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

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