removed shield use superadmin
This commit is contained in:
1 parent
7fd7f706bc
commit
419148cd18
60 files changed
+611
-2363
No files matched your search
@@ -20,9 +20,9 @@ class NuhBash extends Command
|
||||
public function handle()
|
||||
{
|
||||
self::$options = $this->options();
|
||||
|
||||
self::$options['supervisor_id'] = $this->argument('process');
|
||||
self::$options['event_id'] = $this->argument('eventid');
|
||||
|
||||
$queries = self::$options['m'] ?? 0;
|
||||
|
||||
if ($this->argument('process') == 'help') {
|
||||
@@ -59,25 +59,21 @@ class NuhBash extends Command
|
||||
|
||||
Supervisorctl::start(self::$options);
|
||||
|
||||
switch (self::$options['type']) {
|
||||
case 'Grapper':
|
||||
switch (self::$options['provider_id']) {
|
||||
case 1:
|
||||
TxSwitch::switch();
|
||||
case 2:
|
||||
// betsapi
|
||||
break;
|
||||
case 3:
|
||||
// direct
|
||||
break;
|
||||
default:
|
||||
Note::notice('Provider not defined', 'r', 1);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
if (! self::$options['is_active']) {
|
||||
Notice::note('Process disabled', 'r', 1);
|
||||
}
|
||||
|
||||
case 'Comparatore':
|
||||
// code...
|
||||
switch (self::$options['provider_id']) {
|
||||
case 1:
|
||||
// direct
|
||||
break;
|
||||
case 2:
|
||||
TxSwitch::switch();
|
||||
case 3:
|
||||
// betsapi
|
||||
break;
|
||||
default:
|
||||
Note::notice('Provider not defined', 'r', 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user