37 lines
1018 B
PHP
37 lines
1018 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands\Grapper\Logifuture;
|
|
|
|
use App\Console\Commands\Nuh;
|
|
|
|
class BaseUrl
|
|
{
|
|
public static function get()
|
|
{
|
|
$test = false;
|
|
switch (Nuh::$options['provider_id']) {
|
|
case 5:
|
|
if ($test) {
|
|
Auth::$password = 'nuhodds';
|
|
$base_url = 'https://stg-external-api.bet9ja.com/external';
|
|
} else {
|
|
Auth::$password = 'uSwIqs!Y3eHrNbyH';
|
|
$base_url = 'https://external-api.bet9ja.com/external';
|
|
}
|
|
|
|
break;
|
|
case 6:
|
|
if ($test) {
|
|
Auth::$password = 'nuhodds';
|
|
$base_url = 'https://stg-external-api.yajuego.co/external';
|
|
} else {
|
|
$base_url = 'https://external-api.yajuego.co/external';
|
|
Auth::$password = 'uSwIqs!Y3eHrNbyH';
|
|
}
|
|
break;
|
|
}
|
|
|
|
return $base_url;
|
|
}
|
|
}
|