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;