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