|
@@ -22,8 +22,9 @@ public function index()
|
|
|
// $data[] = $this->football('/odds',['fixture'=>'1491915']);
|
|
// $data[] = $this->football('/odds',['fixture'=>'1491915']);
|
|
|
|
|
|
|
|
// $data = FixtureService::index();
|
|
// $data = FixtureService::index();
|
|
|
|
|
+ $id = request()->input('id','1492541');
|
|
|
|
|
|
|
|
- $data[] = DB::select('SELECT * FROM sports WHERE data_id = 1511975');
|
|
|
|
|
|
|
+ $data[] = DB::select("SELECT * FROM sports WHERE data_id = {$id}");
|
|
|
$data[] = $this->football('/odds/live');
|
|
$data[] = $this->football('/odds/live');
|
|
|
return $this->success($data);
|
|
return $this->success($data);
|
|
|
}
|
|
}
|