This commit is contained in:
salam committed 2026-02-13 16:37:08 +01:00
1 parent 329aa1a5e4
commit 965c7fca90
2 files changed
+7 -1

No files matched your search

@@ -26,6 +26,7 @@ class Logifuture
public static function switch()
{
$debug = Nuh::$options['d'] ?? 0;
$echo_data = Nuh::$options['e'] ?? 0;
$sportmap = Sport::map('logi', 1, [Nuh::$options['sport_id']]);
@@ -41,6 +42,10 @@ class Logifuture
$matches = LogifutureData::load($logifuture_sport_id);
if ($echo_data) {
Notice::note($matches, 'g');
}
if (! is_array($matches)) {
return;
}
+2 -1
View File
@@ -21,7 +21,7 @@ class Nuh extends Command
public static $id = 0;
protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--gid=} {--p} {--d} {--x} {--t} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b}';
protected $signature = 'nuh {process=help} {--id=0} {--fn=} {--gid=} {--p} {--d} {--x} {--t} {--w} {--a} {--r} {--s} {--g} {--t} {--q} {--f} {--b} {--e}';
public function handle()
{
@@ -54,6 +54,7 @@ class Nuh extends Command
$txt .= '--s store data to file '.PHP_EOL;
$txt .= '--f force update market'.PHP_EOL;
$txt .= '--q print all queries'.PHP_EOL;
$txt .= '--e echo client data'.PHP_EOL;
$txt .= '----------------------------------------------'.PHP_EOL.PHP_EOL;
$txt .= 'Supervisors'.PHP_EOL;