郑晓宇 6 年之前
父節點
當前提交
c1ebf4d762
共有 2 個文件被更改,包括 2 次插入1 次删除
  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';
         Gateway::$registerAddress = '127.0.0.1:1238';
-        echo Gateway::isUidOnline(3);exit;
         while(1){
         while(1){
             //获取所有机器人
             //获取所有机器人
             $robots = User::where("is_login", 1)->where("is_robot", 1)->get();
             $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();
         Worker::runAll();
     }
     }
 }
 }
+
+exit();