diff --git a/app/Domains/Real/Commands/Sync/Command.php b/app/Domains/Real/Commands/Sync/Command.php index 87ae7e05..2d61be37 100644 --- a/app/Domains/Real/Commands/Sync/Command.php +++ b/app/Domains/Real/Commands/Sync/Command.php @@ -22,7 +22,7 @@ class Command extends BaseCommand */ protected function execute(InputInterface $input, OutputInterface $output) { - $this->line('开始'.$this->description); + $this->line(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description)); begin_time_consuming(); diff --git a/app/Domains/Virtual/Commands/Sync/Command.php b/app/Domains/Virtual/Commands/Sync/Command.php index 75e7b2e9..db0caf7c 100644 --- a/app/Domains/Virtual/Commands/Sync/Command.php +++ b/app/Domains/Virtual/Commands/Sync/Command.php @@ -22,7 +22,7 @@ class Command extends BaseCommand */ protected function execute(InputInterface $input, OutputInterface $output) { - $this->line('开始'.$this->description); + $this->line(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description)); begin_time_consuming();