From 8a003f233c44ff0bcee155cd7ff7980ac3d4e125 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Mon, 13 Feb 2023 18:40:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Host.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Host.php b/app/Models/Host.php index 7bf4fad..9803170 100644 --- a/app/Models/Host.php +++ b/app/Models/Host.php @@ -302,7 +302,7 @@ public function safeDelete(): bool ]); } - // 如果创建时间大于大于 1 小时 + // 如果创建时间大于 1 小时 if (! $this->isCycle() && $this->created_at->diffInHours(now()) > 1) { // 如果当前时间比扣费时间小,则说明没有扣费。执行扣费。 if (now()->minute < $this->minute_at) {