FindFixture wip
This commit is contained in:
1 parent
8aaac561f8
commit
bc1ca5bdea
8 files changed
+428
-258
No files matched your search
@@ -10,7 +10,6 @@ use App\Console\Commands\Grapper\Logifuture\MapEvent;
|
||||
use App\Console\Commands\Grapper\Logifuture\Soccer;
|
||||
use App\Console\Commands\Grapper\Logifuture\Tennis;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Mapper\FindFixture;
|
||||
use App\Mapper\LoadElements;
|
||||
use App\Mapper\LoadGroups;
|
||||
use App\Models\EventBookmaker;
|
||||
@@ -38,9 +37,9 @@ class Logifuture
|
||||
break;
|
||||
}
|
||||
|
||||
$_elements = LoadElements::load(Nuh::$options['provider_id'], true);
|
||||
FindFixture::$_elements = LoadElements::load(Nuh::$options['provider_id'], true);
|
||||
|
||||
$_groups = LoadGroups::load(Nuh::$options['provider_id'], true);
|
||||
FindFixture::$_groups = LoadGroups::load(Nuh::$options['provider_id'], true);
|
||||
|
||||
$sportmap = Sport::map('logi', 1, [1, 2, 3, 5]);
|
||||
|
||||
@@ -64,7 +63,7 @@ class Logifuture
|
||||
|
||||
$event = MapEvent::filter($sport_id, $match);
|
||||
|
||||
FindFixture::search($event, $_groups[$sport_id], $_elements[$sport_id], true);
|
||||
FindFixture::search($event);
|
||||
|
||||
if ($event['id']) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user