郑晓宇 %!s(int64=6) %!d(string=hai) anos
pai
achega
c1ebf4d762
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  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();