wop
This commit is contained in:
1 parent
2312a9cc57
commit
7ba7fb2dac
11 files changed
+176
-173
No files matched your search
@@ -51,9 +51,11 @@ class GenerateAlarms
|
||||
|
||||
$res = EventBookmaker::with('event')->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
|
||||
|
||||
if ($debug) {
|
||||
Notice::note('Event: '.\count($res), 'b');
|
||||
}
|
||||
// $res = EventBookmaker::with('event')->where('bookmaker_id', $client_bookmaker_id)->whereHas('event', function (Builder $query) {
|
||||
// $query->whereNotNull('starttime')
|
||||
// ->where('starttime', '>', now());
|
||||
// })->get();
|
||||
|
||||
// $res = EventBookmaker::where('event_id', 14597944)->where('bookmaker_id', $client_bookmaker_id)->where('sport_id', $sport_id)->get();
|
||||
|
||||
foreach ($res as $event) {
|
||||
|
||||
@@ -13,8 +13,6 @@ class LoadPlayerAverages
|
||||
{
|
||||
$players = StatistikoDetail::where('ss_team_id', $team_id)->get();
|
||||
|
||||
Log::debug('hall', $players->toArray());
|
||||
|
||||
$player_ids = [];
|
||||
foreach ($players as $player) {
|
||||
$player_ids[] = $player->ss_player_id;
|
||||
@@ -108,6 +106,8 @@ class LoadPlayerAverages
|
||||
}
|
||||
}
|
||||
|
||||
Log::debug('hall', $players->toArray());
|
||||
|
||||
return $arr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user