From dd5bfd7f1154ddf20829b8a98449296c61e5b2e9 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Sat, 9 Mar 2024 17:51:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E5=86=BB?= =?UTF-8?q?=E7=BB=93=E9=87=91=E9=A2=9D=E8=A7=A3=E5=86=BB=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/listens/AutoUnlockMerchantMoneyListen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/listens/AutoUnlockMerchantMoneyListen.php b/crmeb/listens/AutoUnlockMerchantMoneyListen.php index a58f2248..68ce5969 100755 --- a/crmeb/listens/AutoUnlockMerchantMoneyListen.php +++ b/crmeb/listens/AutoUnlockMerchantMoneyListen.php @@ -25,7 +25,7 @@ class AutoUnlockMerchantMoneyListen extends TimerService implements ListenerInte public function handle($event): void { $this->tick(1000 * 60 * 60, function () { - if (time() >= strtotime('today 18:00:00') && time() >= strtotime('today 20:00:00')) { + if (time() >= strtotime('today 18:00:00') && time() <= strtotime('today 20:00:00')) { request()->clearCache(); /** @var UserBillRepository $userBill */ $userBill = app()->make(UserBillRepository::class);