songdb 6 年之前
父節點
當前提交
737d38f222
共有 1 個文件被更改,包括 2 次插入2 次删除
  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');
         }