From a2278487ee4ffa8c89782f5c0519ed37ce0a0a40 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 1 Apr 2020 02:15:07 +0800 Subject: [PATCH] 1.2.4 --- app/Console/Commands/ResetTraffic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/ResetTraffic.php b/app/Console/Commands/ResetTraffic.php index 33b3bf89..b946d036 100644 --- a/app/Console/Commands/ResetTraffic.php +++ b/app/Console/Commands/ResetTraffic.php @@ -74,7 +74,7 @@ class ResetTraffic extends Command array_push($users, $item->id); } - if (($today === $lastDay) && in_array($expireDay, ['29', '30', '31'])) { + if (($today === $lastDay) && $expireDay >= $lastDay) { array_push($users, $item->id); } }