智慧教务系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
669 B

<?php
declare (strict_types = 1);
namespace app\command;
use app\job\transfer\schedule\ResourceAutoAllocation;
use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\input\Option;
use think\console\Output;
class TestCommand extends Command
{
protected function configure()
{
// 指令配置
$this->setName('testcommand')
->setDescription('the testcommand command');
}
protected function execute(Input $input, Output $output)
{
// 指令输出
$obj = new ResourceAutoAllocation();
$obj->doJob();
$output->writeln('testcommand');
}
}