songdb 6 years ago
parent
commit
737d38f222
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Wap/Subscribe/SubscribeController.php

+ 2 - 2
app/Http/Controllers/Wap/Subscribe/SubscribeController.php

@@ -116,8 +116,8 @@ class SubscribeController extends BaseController
             $appid = $user_info->appid;
             $official_account = OfficialAccountService::officialAccountByAppid(compact('appid'));
             dump($official_account);
-            $title = $official_account['nickname'];
-            $img = $official_account['qrcode_url'];
+            $title = $official_account->nickname;
+            $img = $official_account->qrcode_url;
         }else{
             return redirect()->to('/recent');
         }