First commit
This commit is contained in:
28
config/console.php
Executable file
28
config/console.php
Executable file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | 控制台配置
|
||||
// +----------------------------------------------------------------------
|
||||
//return [
|
||||
// // 执行用户(Windows下无效)
|
||||
// 'user' => null,
|
||||
// // 指令定义
|
||||
// 'commands' => [
|
||||
//
|
||||
// ],
|
||||
//];
|
||||
|
||||
return [
|
||||
'commands' => [
|
||||
'Swoole-Im' => 'app\command\SwooleIm',
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user