This commit is contained in:
2020-09-03 00:53:19 +08:00
parent c8729e0699
commit 4c0abd4624
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
namespace Console;
use Snowflake\Abstracts\BaseApplication;
use Snowflake\Abstracts\Component;
use Swoole\Coroutine\Channel;
use Swoole\Runtime;
use Swoole\Timer;
@@ -19,7 +19,7 @@ use Snowflake\Snowflake;
* Class Application
* @package Console
*/
class Application extends BaseApplication
class Application extends Component
{
/**
+2 -2
View File
@@ -35,8 +35,8 @@ class Command extends \Console\Command
$action = $dtl->get('action', 3);
/** @var Server $server */
// $server = Snowflake::get()->get('server');
// $server->start();
$server = Snowflake::get()->get('server');
$server->start();
}
}