wip
This commit is contained in:
1 parent
60379bcab8
commit
5c9745b1da
19 files changed
+167
-105
No files matched your search
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands\Grapper;
|
||||
|
||||
use App\Console\Commands\Grapper\TxOdds\Fixtures;
|
||||
use App\Console\Commands\Grapper\TxOdds\Odds;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Utilities\Notice;
|
||||
|
||||
class TxOdds
|
||||
{
|
||||
public static function switch()
|
||||
{
|
||||
if (Nuh::$options['sport_id'] == 1) {
|
||||
Nuh::$AUTHTOKEN = 'ident=betaid1&passwd=Dy59vpRC';
|
||||
} else {
|
||||
Nuh::$AUTHTOKEN = 'ident=betaid2&passwd=Dy59vpRC';
|
||||
}
|
||||
|
||||
switch (Nuh::$options['name']) {
|
||||
case 'Fixtures':
|
||||
Fixtures::grap();
|
||||
break;
|
||||
case 'Odds':
|
||||
Odds::grap();
|
||||
break;
|
||||
case 3:
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
break;
|
||||
default:
|
||||
Notice::note('prosses name does not exist', 'r', 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user