提交服务端基础框架
This commit is contained in:
16
Server/vendor/topthink/think-worker/src/command.php
vendored
Normal file
16
Server/vendor/topthink/think-worker/src/command.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
\think\Console::addDefaultCommands([
|
||||
'worker:gateway' => '\\think\\worker\\command\\GatewayWorker',
|
||||
'worker:server' => '\\think\\worker\\command\\Server',
|
||||
'worker' => '\\think\\worker\\command\\Worker',
|
||||
]);
|
||||
Reference in New Issue
Block a user