magloo grapper fix
This commit is contained in:
1 parent
57a2d75b57
commit
f424f33c32
9 files changed
+215
-176
No files matched your search
@@ -9,6 +9,7 @@ use App\Console\Commands\DbMapper\Store\StoreGroup;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Models\Event;
|
||||
use App\Models\Mapper;
|
||||
use App\Models\Sport;
|
||||
use App\Utilities\Notice;
|
||||
use Carbon\Carbon;
|
||||
|
||||
@@ -22,9 +23,12 @@ class MaglooNigeriaAll
|
||||
$debug = Nuh::$options['d'] ?? 0;
|
||||
|
||||
if ($debug) {
|
||||
Notice::note(Nuh::$options['name'].' '.Nuh::$options['sport'], 'g');
|
||||
Notice::note(Nuh::$options['name'], 'g');
|
||||
}
|
||||
|
||||
$sports = Sport::map('magl');
|
||||
dd($sports);
|
||||
|
||||
$mappers = Mapper::where('provider_id', 2)->where('sport_id', 5)->where('starttime', '>', Carbon::now())->get()->toArray();
|
||||
|
||||
foreach ($mappers as $mapper) {
|
||||
|
||||
Reference in new issue
Block a user