You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
255 B
PHTML
21 lines
255 B
PHTML
5 years ago
|
<?php
|
||
|
namespace Base\Task;
|
||
|
|
||
|
/**
|
||
|
* 任务基类
|
||
|
* @author elf<360197197@qq.com>
|
||
|
*/
|
||
|
class BaseTask
|
||
|
{
|
||
|
public $params;
|
||
|
|
||
|
public function __construct($params = [])
|
||
|
{
|
||
|
$this->params = $params;
|
||
|
}
|
||
|
|
||
|
public function run()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|