save updates
This commit is contained in:
1 parent
3671902fe7
commit
046407df18
36 files changed
+261
-305
No files matched your search
@@ -13,6 +13,7 @@ use App\Models\OddsDnb;
|
||||
use App\Models\OddsGgng;
|
||||
use App\Models\OddsTotal;
|
||||
use App\Models\Sport;
|
||||
use App\Utilities\DatabaseFunctions;
|
||||
use App\Utilities\Margin;
|
||||
use App\Utilities\Notice;
|
||||
use Illuminate\Support\Carbon;
|
||||
@@ -118,7 +119,9 @@ class Bet365
|
||||
$res->d3w = $odds['a3w'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -152,7 +155,9 @@ class Bet365
|
||||
$res->dcx2 = $odds['dcx2'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -193,7 +198,9 @@ class Bet365
|
||||
$res->difference = abs(1 / $odds['over'] - 1 / $odds['under']);
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -226,7 +233,9 @@ class Bet365
|
||||
$res->ng = $odds['ng'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -258,7 +267,9 @@ class Bet365
|
||||
$res->dnb2 = $odds['dnb2'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -292,7 +303,9 @@ class Bet365
|
||||
$res->d3w = $odds['a3w'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ use App\Console\Commands\Nuh;
|
||||
use App\Models\Event;
|
||||
use App\Models\Odds3way;
|
||||
use App\Models\Supervisor;
|
||||
use App\Utilities\DatabaseFunctions;
|
||||
use App\Utilities\Margin;
|
||||
use App\Utilities\Notice;
|
||||
use Illuminate\Support\Carbon;
|
||||
@@ -98,7 +99,9 @@ class Odds
|
||||
$res->d3w = $odds['a3w'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
break;
|
||||
case '1_3':
|
||||
@@ -123,7 +126,9 @@ class Odds
|
||||
$res->d3w = $odds['a3w'];
|
||||
$res->flags = 1;
|
||||
$res->margin = $odds['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user