songxingwei il y a 2 ans
Parent
commit
e69c307b7f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/admin/controller/Queue.php

+ 1 - 1
application/admin/controller/Queue.php

@@ -53,7 +53,7 @@ class Queue extends Controller
             $this->command = ProcessService::instance()->think('xtask:start');
             $this->listen = preg_match('/process.*?\d+.*?running/', $this->message, $attr);
 
-            $listen = ProcessService::instance()->think('xtask:_work');
+            $listen = ProcessService::instance()->query('xtask:_work');
             dump($listen);
 
         } catch (\Exception $exception) {