logifurture wip
This commit is contained in:
1 parent
99b901009c
commit
a96abae35a
15 files changed
+2143
-1518
No files matched your search
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands\Grapper\Logifuture;
|
||||
|
||||
use App\Console\Commands\Nuh;
|
||||
|
||||
class BaseUrl
|
||||
{
|
||||
public static function get()
|
||||
{
|
||||
$test = Nuh::$options['t'] ?? 0;
|
||||
|
||||
switch (Nuh::$options['provider_id']) {
|
||||
case 5:
|
||||
if ($test) {
|
||||
$base_url = 'https://stg-external-api.bet9ja.com/external';
|
||||
} else {
|
||||
$base_url = 'https://external-api.bet9ja.com/external';
|
||||
}
|
||||
|
||||
break;
|
||||
case 6:
|
||||
if ($test) {
|
||||
$base_url = 'https://stg-external-api.yajuego.co/external';
|
||||
} else {
|
||||
$base_url = 'https://external-api.yajuego.co/external';
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return $base_url;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user