lip 1 月之前
父節點
當前提交
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();
         }