From 06dccede16a9e54fae665ba35071b62761438c2f Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Sat, 21 Aug 2021 08:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/event.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/crmeb/app/event.php b/crmeb/app/event.php index 74f491015..6703fa402 100644 --- a/crmeb/app/event.php +++ b/crmeb/app/event.php @@ -22,13 +22,6 @@ return [ 'HttpEnd' => [], 'LogLevel' => [], 'LogWrite' => [], - 'task_2' => [], //2秒钟执行的方法 - 'task_6' => [], //6秒钟执行的方法 - 'task_10' => [], //10秒钟执行的方法 - 'task_30' => [], //30秒钟执行的方法 - 'task_60' => [], //60秒钟执行的方法 - 'task_180' => [], //180秒钟执行的方法 - 'task_300' => [], //300秒钟执行的方法 'StoreProductOrderDeliveryAfter' => [], // OrderSubscribe 送货 发送模板消息 admin模块 order.StoreOrder控制器/order.combinationOrder控制器 'StoreProductOrderDeliveryGoodsAfter' => [], // OrderSubscribe 发货 发送模板消息 admin模块 order.StoreOrder控制器/order.combinationOrder控制器 'StoreProductOrderRefundNAfter' => [], // OrderSubscribe 订单状态不退款 发送模板消息 admin模块 order.StoreOrder控制器/order.combinationOrder控制器 @@ -50,6 +43,9 @@ return [ 'user.userLevel' => [\app\listener\user\UserLevel::class], //用户升级事件 'user.userVisit' => [\app\listener\user\UserVisit::class], //用户访问事件 ], + 'subscribe' => [ + crmeb\subscribes\TaskSubscribe::class,//定时任务事件订阅类 + ] ];