From c25a51e0a15af3a52a2ca787b110ca4c12fecb3e Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 28 Aug 2019 16:44:49 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"[=E6=9B=B4=E6=96=B0]=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=B3=BB=E7=BB=9F=E4=BB=BB=E5=8A=A1"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 218d5df1135d419e3b4691886cd7e6a7b9057d7a. --- application/admin/queue/Queue.php | 5 +++++ application/service/queue/WechatQueue.php | 2 -- application/wechat/queue/WechatQueue.php | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/application/admin/queue/Queue.php b/application/admin/queue/Queue.php index 308a41b4c..22fc9c835 100644 --- a/application/admin/queue/Queue.php +++ b/application/admin/queue/Queue.php @@ -25,6 +25,11 @@ use think\console\Output; */ abstract class Queue { + /** + * 当前类名 + * @var string + */ + const URI = self::class; /** * 判断是否WIN环境 diff --git a/application/service/queue/WechatQueue.php b/application/service/queue/WechatQueue.php index 8969b3396..2c35804ae 100644 --- a/application/service/queue/WechatQueue.php +++ b/application/service/queue/WechatQueue.php @@ -28,8 +28,6 @@ use think\Db; */ class WechatQueue extends Queue { - const URI = self::class; - /** * 当前操作APPID * @var string diff --git a/application/wechat/queue/WechatQueue.php b/application/wechat/queue/WechatQueue.php index 5d7eeb44e..f0fbf446b 100644 --- a/application/wechat/queue/WechatQueue.php +++ b/application/wechat/queue/WechatQueue.php @@ -29,8 +29,6 @@ use think\Db; class WechatQueue extends Queue { - const URI = self::class; - /** * 执行任务 * @param Input $input