From 8e4dd951207cd7116fb1beb13a22a0ec51fad9de Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 23 Feb 2024 09:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/listens/ActivateConsumptionListen.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crmeb/listens/ActivateConsumptionListen.php b/crmeb/listens/ActivateConsumptionListen.php index aa617db0..fbb63663 100644 --- a/crmeb/listens/ActivateConsumptionListen.php +++ b/crmeb/listens/ActivateConsumptionListen.php @@ -9,6 +9,7 @@ use app\common\model\system\merchant\Merchant; use app\common\model\user\UserBill; use crmeb\interfaces\ListenerInterface; use crmeb\services\TimerService; +use think\facade\Log; /** * 定时任务:激活商户补贴 @@ -18,7 +19,8 @@ class ActivateConsumptionListen extends TimerService implements ListenerInterfac public function handle($event): void { - $this->tick(1000 * 60 * 10, function () { + $this->tick(1000 * 60, function () { + Log::info('定时任务:激活商户补贴'); $couponId = StoreConsumption::where('type', StoreConsumption::TYPE_RECHARGE)->value('coupon_id'); if (empty($couponId)) { return;