From 218d5df1135d419e3b4691886cd7e6a7b9057d7a Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 28 Aug 2019 14:19:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/queue/Queue.php | 5 ----- application/service/queue/WechatQueue.php | 2 ++ application/wechat/queue/WechatQueue.php | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/application/admin/queue/Queue.php b/application/admin/queue/Queue.php index 22fc9c835..308a41b4c 100644 --- a/application/admin/queue/Queue.php +++ b/application/admin/queue/Queue.php @@ -25,11 +25,6 @@ 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 2c35804ae..8969b3396 100644 --- a/application/service/queue/WechatQueue.php +++ b/application/service/queue/WechatQueue.php @@ -28,6 +28,8 @@ 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 f0fbf446b..5d7eeb44e 100644 --- a/application/wechat/queue/WechatQueue.php +++ b/application/wechat/queue/WechatQueue.php @@ -29,6 +29,8 @@ use think\Db; class WechatQueue extends Queue { + const URI = self::class; + /** * 执行任务 * @param Input $input