郑晓宇 6 vuotta sitten
vanhempi
commit
c1ebf4d762
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 0 1
      app/Console/Commands/recylerobots.php
  2. 2 0
      app/Console/Commands/robot.php

+ 0 - 1
app/Console/Commands/recylerobots.php

@@ -44,7 +44,6 @@ class recylerobots extends Command
     {
         //注册地址
         Gateway::$registerAddress = '127.0.0.1:1238';
-        echo Gateway::isUidOnline(3);exit;
         while(1){
             //获取所有机器人
             $robots = User::where("is_login", 1)->where("is_robot", 1)->get();

+ 2 - 0
app/Console/Commands/robot.php

@@ -191,3 +191,5 @@ class robot extends Command
         Worker::runAll();
     }
 }
+
+exit();