|
@@ -380,7 +380,7 @@ class WelcomeController extends BaseController
|
|
//强关公众号名称
|
|
//强关公众号名称
|
|
$force_subscribe = ForceSubscribeService::forceSubscribeUsersByUid(['uid' => $this->uid]);
|
|
$force_subscribe = ForceSubscribeService::forceSubscribeUsersByUid(['uid' => $this->uid]);
|
|
if ($force_subscribe) {
|
|
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) {
|
|
if ($force_subscribe_official) {
|
|
$title = $force_subscribe_official->nickname;
|
|
$title = $force_subscribe_official->nickname;
|
|
$get_force_subscribe_name = true;
|
|
$get_force_subscribe_name = true;
|