This commit is contained in:
salam committed 2026-02-13 11:43:02 +01:00
1 parent 7ff9bed2cf
commit 1af6eec5e9
3 files changed
+8 -7

No files matched your search

@@ -27,7 +27,7 @@ class Willhill
$res = Odds3way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(7) && $value->event->betsapi_id == 0) {
$collection[] = [
'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid,
@@ -37,7 +37,7 @@ class Willhill
}
$res = Odds2way::with('event')->where('bookmaker_id', $bookmaker_id)->get();
foreach ($res as $value) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) {
if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(7) && $value->event->betsapi_id == 0) {
$collection[] = [
'txodds_id' => $value->event_id,
'willhill_id' => $value->bmoid,
@@ -58,7 +58,7 @@ class Willhill
if ($debug) {
$arr = [
'Mapper TXOdds to BetsApi',
'Mapper TXOdds to Bet365',
'TXdds ID : '.$event['txodds_id'],
"Bet365 ID : $bet365_id",
'Willhill ID : '.$event['willhill_id'],