|
|
@@ -22,11 +22,11 @@ public function index()
|
|
|
// $data[] = $this->football('/odds',['fixture'=>'1491915']);
|
|
|
|
|
|
// $data = FixtureService::index();
|
|
|
-// $id = request()->input('id', '1492541');
|
|
|
+ $id = request()->input('id', '1492541');
|
|
|
//
|
|
|
// $sport = DB::select("SELECT * FROM sports WHERE data_id = {$id}");
|
|
|
// $sport = $sport[0];
|
|
|
- $list = $this->football('/odds/live');
|
|
|
+ $list = $this->football('/odds/live',['fixture'=>$id]);
|
|
|
// $data[] = $sport;
|
|
|
// foreach ($list['response'] as $item) {
|
|
|
// if ($item['fixture']['id'] == $sport->data_id) {
|