Procházet zdrojové kódy

Merge branch 'develop'

xielin před 5 roky
rodič
revize
c8982ef2a3
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      app/Repositories/BeanRepository.php

+ 4 - 4
app/Repositories/BeanRepository.php

@@ -217,10 +217,10 @@ class BeanRepository
         $star_home['user']['username'] = $userInfo['username'];
         $star_home['user']['avatar'] = $userInfo['avatar'];
         //battle信息
-        $activityInfo = $this->getActivity();
-        $star_home['battle']['start'] = $activityInfo['start'];
-        $star_home['battle']['end'] = $activityInfo['end'];
-        $star_home['battle']['news'] = Redis::get('battle_latest_info_'.$activityInfo['id'])??'战场四平八稳,劳驾老板亲自去战场督战';
+//        $activityInfo = $this->getActivity();
+//        $star_home['battle']['start'] = $activityInfo['start'];
+//        $star_home['battle']['end'] = $activityInfo['end'];
+//        $star_home['battle']['news'] = Redis::get('battle_latest_info_'.$activityInfo['id'])??'战场四平八稳,劳驾老板亲自去战场督战';
 
         //聊天室
         $tmpChatroom = Redis::get('user_service_chatroom');