From 7929e58a1e199e541841e10db417a16a4d2258b9 Mon Sep 17 00:00:00 2001 From: weigang Date: Thu, 5 Nov 2020 15:59:53 +0800 Subject: [PATCH] no message --- app/Controller/v3/HomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/v3/HomeController.php b/app/Controller/v3/HomeController.php index cee0840..1b788ce 100644 --- a/app/Controller/v3/HomeController.php +++ b/app/Controller/v3/HomeController.php @@ -219,7 +219,7 @@ class HomeController extends BaseController $redis = ApplicationContext::getContainer()->get(Redis::class); - $fansInfo = []; + $fansInfo = ['subscribe' => 0]; $fansTag = ImsMcFansTag::query()->where(['unionid' => $data['user']['unionid']])->first(); if (empty($fansTag)) { // 无绑定时无关注,单需要处理老we7那边更新unionid的事宜 $subscribeInfo = $redis->hGet('official:subscribe_info', 'not_subscribed');