diff --git a/application/admin/queue/Queue.php b/application/admin/queue/Queue.php index dad6d41d0..22fc9c835 100644 --- a/application/admin/queue/Queue.php +++ b/application/admin/queue/Queue.php @@ -26,7 +26,13 @@ use think\console\Output; abstract class Queue { /** - * 判断是否为WIN环境 + * 当前类名 + * @var string + */ + const URI = self::class; + + /** + * 判断是否WIN环境 * @return boolean */ protected function isWin() @@ -35,4 +41,4 @@ abstract class Queue } abstract function execute(Input $input, Output $output, array $data); -} +} \ No newline at end of file