xiaoai/php_server/app/common/command/HumanVideoTaskCron.php

32 lines
611 B
PHP

<?php
namespace app\common\command;
use app\api\logic\HumanLogic;
use think\console\Command;
use think\console\Input;
use think\console\Output;
/**
* HumanVoiceTaskCron
* @desc 视频任务
* @author dagouzi
*/
class HumanVideoTaskCron extends Command
{
protected function configure()
{
$this->setName('human_video_task_cron')
->setDescription('视频任务');
}
protected function execute(Input $input, Output $output)
{
HumanLogic::humanInfoCron();
HumanLogic::videoInfoCron();
HumanLogic::videoTaskCron();
return true;
}
}