|
|
@@ -22,7 +22,8 @@ static function updateOdds()
|
|
|
$sport = Sport::where('data_id', $item['fixture']['id'])->first();
|
|
|
$sport->odds = json_encode($item['odds']);
|
|
|
$sport->state = 1;
|
|
|
- $score = $item['teams']['home']['goals'];
|
|
|
+ $score = "";
|
|
|
+ $score .= $item['teams']['home']['goals'];
|
|
|
$score .= "-";
|
|
|
$score .= $item['teams']['away']['goals'];
|
|
|
if ($item['fixture']['status']['long'] == 'First Half') {
|