Anyon c25a51e0a1 Revert "[更新]修改系统任务"
This reverts commit 218d5df1135d419e3b4691886cd7e6a7b9057d7a.
2019-08-28 16:44:49 +08:00

44 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2019 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
// +----------------------------------------------------------------------
// | 官方网站: http://demo.thinkadmin.top
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 代码仓库https://gitee.com/zoujingli/ThinkAdmin
// | github 代码仓库https://github.com/zoujingli/ThinkAdmin
// +----------------------------------------------------------------------
namespace app\admin\queue;
use think\console\Input;
use think\console\Output;
/**
* 基础任务基类
* Class Queue
* @package app\admin\queue
*/
abstract class Queue
{
/**
* 当前类名
* @var string
*/
const URI = self::class;
/**
* 判断是否WIN环境
* @return boolean
*/
protected function isWin()
{
return PATH_SEPARATOR === ';';
}
abstract function execute(Input $input, Output $output, array $data);
}