wip
This commit is contained in:
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'],
|
||||
|
||||
Reference in new issue
Block a user