lip 3 săptămâni în urmă
părinte
comite
4327e4416a
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  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();
         }