lip преди 21 часа
родител
ревизия
4327e4416a
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      app/Console/Commands/Sport.php

+ 3 - 2
app/Console/Commands/Sport.php

@@ -98,6 +98,9 @@ class Sport extends Command
         if ($this->is_live == 0) {
             //未开始的赛事拉取
             $this->fixtures();
+
+            //世界杯赛事拉取
+            $this->leagueFixtures();
         } elseif ($this->is_live == 1) {
             //进行中的赛事,定时更新
             $this->liveFixtures();
@@ -106,8 +109,6 @@ class Sport extends Command
             //$this->updateOvertimeFixtures();
         } elseif ($this->is_live == 3) {
             $this->checkOvertimeFixtures();
-        } elseif ($this->is_live == 4) {
-            $this->leagueFixtures();
         } else {
             $this->initOdds();
         }