浏览代码

title test

zz 6 年之前
父节点
当前提交
db16c700c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/Wap/Web/WelcomeController.php

+ 1 - 1
app/Http/Controllers/Wap/Web/WelcomeController.php

@@ -382,7 +382,7 @@ class WelcomeController extends BaseController
         if ($force_subscribe) {
         if ($force_subscribe) {
             $force_subscribe_official = OfficialAccountService::officialAccountByAppid(['appid' => $force_subscribe->appid]);
             $force_subscribe_official = OfficialAccountService::officialAccountByAppid(['appid' => $force_subscribe->appid]);
             if ($force_subscribe_official) {
             if ($force_subscribe_official) {
-                $title = $force_subscribe_official->nickname;
+                $title = $force_subscribe_official['nickname'];
                 $get_force_subscribe_name = true;
                 $get_force_subscribe_name = true;
                 Cookie::queue('force_subscribe_name', $title, 12 * 3600);
                 Cookie::queue('force_subscribe_name', $title, 12 * 3600);
             }
             }