logifurture wip
This commit is contained in:
1 parent
99b901009c
commit
a96abae35a
15 files changed
+2143
-1518
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Utilities;
|
||||
|
||||
use App\Models\Provider;
|
||||
use App\Models\Supervisor;
|
||||
|
||||
class Supervisorctl
|
||||
@@ -23,7 +22,7 @@ class Supervisorctl
|
||||
|
||||
self::$code = $options['supervisor_id'];
|
||||
|
||||
$supervisor = Supervisor::find(self::$code);
|
||||
$supervisor = Supervisor::with('sport')->with('provider')->find(self::$code);
|
||||
|
||||
if ($supervisor) {
|
||||
if ($debug) {
|
||||
@@ -31,7 +30,6 @@ class Supervisorctl
|
||||
}
|
||||
|
||||
$options = array_merge($options, $supervisor->toArray());
|
||||
$options['process'] = Provider::where('id', $options['provider_id'])->value('name');
|
||||
if ($proxy) {
|
||||
$options['proxy'] = 'https://prox2.nuhodds.com/proxy.php';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user