wip
This commit is contained in:
1 parent
4f9125ef12
commit
61418c8cee
47 files changed
+726
-221
No files matched your search
@@ -12,8 +12,8 @@ use App\Models\Event;
|
||||
use App\Models\EventBookmaker;
|
||||
use App\Models\Odds3way;
|
||||
use App\Models\OddsDc;
|
||||
use App\Models\OddsHandicap;
|
||||
use App\Models\OddsHandicapQ1;
|
||||
use App\Models\OddsPoint;
|
||||
use App\Models\OddsPointQ1;
|
||||
use App\Models\OddsTotal;
|
||||
use App\Models\OddsTotalQ1;
|
||||
use App\Models\OddsTq;
|
||||
@@ -153,7 +153,7 @@ class Odds
|
||||
$odds = FilterHandicap::get($value);
|
||||
$odds['starttime'] = $starttime;
|
||||
|
||||
OddsHandicap::updateOrCreate([
|
||||
OddsPoint::updateOrCreate([
|
||||
'event_id' => $event_id,
|
||||
'bookmaker_id' => $bookmaker_id,
|
||||
], $base + $odds);
|
||||
@@ -162,7 +162,7 @@ class Odds
|
||||
case 2000:
|
||||
// points qt
|
||||
$odds = FilterHandicap::get($value);
|
||||
OddsHandicap::updateOrCreate([
|
||||
OddsPoint::updateOrCreate([
|
||||
'event_id' => $event_id,
|
||||
'bookmaker_id' => $bookmaker_id,
|
||||
], $base + $odds);
|
||||
@@ -171,7 +171,7 @@ class Odds
|
||||
case 2025:
|
||||
// points qt
|
||||
$odds = FilterHandicapQ1::get($value);
|
||||
OddsHandicapQ1::updateOrCreate([
|
||||
OddsPointQ1::updateOrCreate([
|
||||
'event_id' => $event_id,
|
||||
'bookmaker_id' => $bookmaker_id,
|
||||
], $base + $odds);
|
||||
|
||||
Reference in new issue
Block a user