diff --git a/app/Domains/Real/Commands/Sync/Command.php b/app/Domains/Real/Commands/Sync/Command.php index 2d61be37..bc8eae7d 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(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description)); + $this->line(sprintf('[%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 db0caf7c..9033942f 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(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description)); + $this->line(sprintf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description)); begin_time_consuming();