test_lgq/niucloud/config/console.php

17 lines
603 B
PHP
Raw Normal View History

2024-01-24 17:36:08 +08:00
<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
return [
// 指令定义
'commands' => [
//消息队列 自定义命令
'queue:work' => 'think\queue\command\Work',
'queue:restart' => 'think\queue\command\Restart',
'queue:listen' => 'think\queue\command\Listen',
'addon:install' => 'app\command\Addon\Install',
'addon:uninstall' => 'app\command\Addon\Uninstall',
'menu:refresh' => 'app\command\Menu',
],
];