改进
This commit is contained in:
parent
cc24398808
commit
8a003f233c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user