|
@@ -219,6 +219,10 @@ class BeanRepository
|
|
$star_home['battle']['start'] = $activityInfo['start'];
|
|
$star_home['battle']['start'] = $activityInfo['start'];
|
|
$star_home['battle']['end'] = $activityInfo['end'];
|
|
$star_home['battle']['end'] = $activityInfo['end'];
|
|
$star_home['battle']['news'] = Redis::get('battle_latest_info_'.$activityInfo['id'])??'战场四平八稳,劳驾老板亲自去战场督战';
|
|
$star_home['battle']['news'] = Redis::get('battle_latest_info_'.$activityInfo['id'])??'战场四平八稳,劳驾老板亲自去战场督战';
|
|
|
|
+
|
|
|
|
+ //聊天室
|
|
|
|
+ $star_home['chatroom'] = json_decode(Redis::get('user_service_chatroom'),true)??[];
|
|
|
|
+
|
|
return $star_home;
|
|
return $star_home;
|
|
|
|
|
|
}
|
|
}
|
|
@@ -348,6 +352,8 @@ class BeanRepository
|
|
$star_detail['daily_news'] = $this->getNews($request);
|
|
$star_detail['daily_news'] = $this->getNews($request);
|
|
$star_detail['exchange'] = $exchange;
|
|
$star_detail['exchange'] = $exchange;
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
return $star_detail;
|
|
return $star_detail;
|
|
|
|
|
|
}
|
|
}
|