This commit is contained in:
iVampireSP.com 2023-02-13 18:40:16 +08:00
parent cc24398808
commit 8a003f233c
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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) {