改名
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user