|
|
@@ -320,7 +320,8 @@ class Maintain extends Command
|
|
|
*/
|
|
|
protected function robot_init()
|
|
|
{
|
|
|
- return Robots::to_redis();
|
|
|
+ Robots::to_redis();
|
|
|
+ infolog('robots created.');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -330,6 +331,7 @@ class Maintain extends Command
|
|
|
{
|
|
|
Robots::order();
|
|
|
(new UserBoardController)->cache_board();
|
|
|
+ infolog('robot make orders');
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -338,6 +340,7 @@ class Maintain extends Command
|
|
|
protected function robot_reset()
|
|
|
{
|
|
|
Robots::to_redis();
|
|
|
+ infolog('robot reset');
|
|
|
}
|
|
|
|
|
|
/**
|