From f4db569a367d70a754c01c0e67a46d297dbd7424 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 28 Aug 2019 09:58:13 +0800 Subject: [PATCH] Update Queue.php --- application/admin/queue/Queue.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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