|
|
@@ -253,7 +253,7 @@ class Sport extends Command
|
|
|
}
|
|
|
//比赛结束,插入比赛统计数据
|
|
|
$data = SportClientService::statistics(['fixture' => $data_id,'half' => 'true']);
|
|
|
- file_put_contents("fixturesStatistics.json", json_encode($data));
|
|
|
+ // file_put_contents("fixturesStatistics.json", json_encode($data));
|
|
|
$statistics_data = empty($data['response']) ? [] : $data['response'];
|
|
|
foreach($statistics_data as $item) {
|
|
|
$team_id = $item['team']['id'];
|
|
|
@@ -353,7 +353,7 @@ class Sport extends Command
|
|
|
|
|
|
//比赛结束,插入比赛事件
|
|
|
$data = SportClientService::statistics(['fixture' => $data_id,'half' => 'true']);
|
|
|
- file_put_contents("fixturesStatistics.json", json_encode($data));
|
|
|
+ // file_put_contents("fixturesStatistics.json", json_encode($data));
|
|
|
$statistics_data = empty($data['response']) ? [] : $data['response'];
|
|
|
foreach($statistics_data as $item) {
|
|
|
$team_id = $item['team']['id'];
|