Bläddra i källkod

师傅端小程序-签署协议-shell命令测试

whitefang 1 år sedan
förälder
incheckning
21f14ff0c0
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      app/common/command/AddAgreementPdf.php

+ 4 - 0
app/common/command/AddAgreementPdf.php

@@ -27,6 +27,10 @@ class AddAgreementPdf extends Command
 
     protected function execute(Input $input, Output $output)
     {
+        while (true) {
+            echo date('Y-m-d H:i:s') . PHP_EOL;
+        }
+        return false;
         $mq_config = Config::get('mq');
         // 连接到RabbitMQ服务
         $connection = new AMQPStreamConnection($mq_config['host'], $mq_config['port'], $mq_config['username'], $mq_config['password'], $mq_config['vhost']);