mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 03:42:49 +08:00
feat: 优化定时任务输出
This commit is contained in:
@@ -48,14 +48,16 @@ class TimerBase extends Command
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$site_host = parse_url($site_domain, PHP_URL_HOST);
|
|
||||||
$output->writeln('站点域名:' . $site_domain);
|
|
||||||
$host = $site_domain;
|
$host = $site_domain;
|
||||||
|
|
||||||
if ($input->hasOption('local')) {
|
if ($input->hasOption('local')) {
|
||||||
$host = $input->getOption('local-host') . ':' . $input->getOption('local-port');
|
$host = $input->getOption('local-host') . ':' . $input->getOption('local-port');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$output->writeln('站点域名:' . $host);
|
||||||
|
$site_host = parse_url($host, PHP_URL_HOST);
|
||||||
|
|
||||||
$config_list = include app_file_path('common/command/timer/config.php');
|
$config_list = include app_file_path('common/command/timer/config.php');
|
||||||
|
|
||||||
$request_list = [];
|
$request_list = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user