|
@@ -33,7 +33,7 @@ class Sport extends Command
|
|
|
'BT' => 1,
|
|
'BT' => 1,
|
|
|
'P' => 1,
|
|
'P' => 1,
|
|
|
'SUSP' => 1,
|
|
'SUSP' => 1,
|
|
|
- 'INT' => 1,
|
|
|
|
|
|
|
+ 'INT' => 4,
|
|
|
'FT' => 2,
|
|
'FT' => 2,
|
|
|
'AET' => 2,
|
|
'AET' => 2,
|
|
|
'PEN' => 2,
|
|
'PEN' => 2,
|
|
@@ -56,9 +56,7 @@ class Sport extends Command
|
|
|
'Break Time' => 1,
|
|
'Break Time' => 1,
|
|
|
'Penalty In Progress' => 1,
|
|
'Penalty In Progress' => 1,
|
|
|
'Match Suspended' => 1,
|
|
'Match Suspended' => 1,
|
|
|
- 'Match Interrupted' => 1,
|
|
|
|
|
- 'Match Finished' => 2,
|
|
|
|
|
- 'Match Finished' => 2,
|
|
|
|
|
|
|
+ 'Match Interrupted' => 4,
|
|
|
'Match Finished' => 2,
|
|
'Match Finished' => 2,
|
|
|
'Match Postponed' => 3,
|
|
'Match Postponed' => 3,
|
|
|
'Match Cancelled' => 4,
|
|
'Match Cancelled' => 4,
|
|
@@ -67,18 +65,6 @@ class Sport extends Command
|
|
|
'WalkOver' => 4,
|
|
'WalkOver' => 4,
|
|
|
'In Progress' => 1,
|
|
'In Progress' => 1,
|
|
|
];
|
|
];
|
|
|
-
|
|
|
|
|
- protected $fixture_status = [
|
|
|
|
|
- 'First Half' => 1,
|
|
|
|
|
- 'First Half, Kick Off' => 1,
|
|
|
|
|
- 'Halftime' => 1,
|
|
|
|
|
- 'Second Half' => 1,
|
|
|
|
|
- 'Second Half, 2nd Half Started' => 1,
|
|
|
|
|
- 'Extra Time' => 1,
|
|
|
|
|
- 'Break Time' => 1,
|
|
|
|
|
- 'Penalty In Progress' => 1,
|
|
|
|
|
- ];
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 命令描述
|
|
* 命令描述
|
|
@@ -215,7 +201,7 @@ class Sport extends Command
|
|
|
$fixture_status = null;
|
|
$fixture_status = null;
|
|
|
if (isset($item['fixture']['status']['long']) ) {
|
|
if (isset($item['fixture']['status']['long']) ) {
|
|
|
$long = $item['fixture']['status']['long'];
|
|
$long = $item['fixture']['status']['long'];
|
|
|
- if (isset($this->fixture_status[$long])) {
|
|
|
|
|
|
|
+ if (isset($this->long_status[$long])) {
|
|
|
$fixture_status = json_encode($item['fixture']['status']);
|
|
$fixture_status = json_encode($item['fixture']['status']);
|
|
|
$sport_data['fixture_status'] = $fixture_status;
|
|
$sport_data['fixture_status'] = $fixture_status;
|
|
|
}
|
|
}
|