shish 4 bulan lalu
induk
melakukan
8fd4e861b2
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app-ghs/controllers/ConsoleController.php

+ 2 - 2
app-ghs/controllers/ConsoleController.php

@@ -162,8 +162,8 @@ class ConsoleController extends BaseController
             $remainingSeconds = $deadTime - $currentTime;
             $remainingDays = ceil($remainingSeconds / 86400);
             
-            // 25天 = 2160000秒
-            if ($remainingSeconds <= 2160000) {
+            // 到期前7天提醒
+            if ($remainingSeconds <= 604800) {
                 if ($remainingSeconds <= 0) {
                     $notice[] = ['title' => '系统已到期', 'action' => '续费', 'page' => '/admin/shop/renew'];
                 } else {