|
@@ -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();
|
|
|
}
|
|
}
|