set base_url in provider table
This commit is contained in:
1 parent
5895f90b5b
commit
f68fdc1dec
10 files changed
+77
-111
No files matched your search
@@ -25,23 +25,12 @@ class Logifuture
|
||||
{
|
||||
$debug = Nuh::$options['d'] ?? 0;
|
||||
|
||||
switch (Nuh::$options['provider_id']) {
|
||||
case 5:
|
||||
Nuh::$options['bookmaker_id'] = 35;
|
||||
self::$base_url = 'https://external-api.bet9ja.com/external';
|
||||
break;
|
||||
case 6:
|
||||
Nuh::$options['bookmaker_id'] = 36;
|
||||
self::$base_url = 'https://external-api.yajuego.co/external';
|
||||
break;
|
||||
}
|
||||
|
||||
$sportmap = Sport::map('logi', 1, [1, 2, 3, 5]);
|
||||
|
||||
$event_id_collector = [];
|
||||
|
||||
if ($debug) {
|
||||
Notice::note(Nuh::$options['provider']['name'].' '.Nuh::$options['sport']['name'], 'g');
|
||||
Notice::note(Nuh::$options['provider'].' '.Nuh::$options['sport'], 'g');
|
||||
}
|
||||
|
||||
Authentication::authenticate();
|
||||
|
||||
Reference in new issue
Block a user