zz 6 سال پیش
والد
کامیت
6ffad12e74
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Http/Controllers/Wap/Web/WelcomeController.php

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

@@ -380,7 +380,7 @@ class WelcomeController extends BaseController
         //强关公众号名称
         $force_subscribe = ForceSubscribeService::forceSubscribeUsersByUid(['uid' => $this->uid]);
         if ($force_subscribe) {
-            $force_subscribe_official = OfficialAccountService::officialAccountByAppid(['appid' => $force_subscribe->appid]);
+            $force_subscribe_official = DB::table('official_accounts')->where('appid',$force_subscribe->appid)->select('nickname')->first();
             if ($force_subscribe_official) {
                 $title = $force_subscribe_official->nickname;
                 $get_force_subscribe_name = true;