shish 5 ماه پیش
والد
کامیت
8fd4e861b2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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;
             $remainingSeconds = $deadTime - $currentTime;
             $remainingDays = ceil($remainingSeconds / 86400);
             $remainingDays = ceil($remainingSeconds / 86400);
             
             
-            // 25天 = 2160000秒
-            if ($remainingSeconds <= 2160000) {
+            // 到期前7天提醒
+            if ($remainingSeconds <= 604800) {
                 if ($remainingSeconds <= 0) {
                 if ($remainingSeconds <= 0) {
                     $notice[] = ['title' => '系统已到期', 'action' => '续费', 'page' => '/admin/shop/renew'];
                     $notice[] = ['title' => '系统已到期', 'action' => '续费', 'page' => '/admin/shop/renew'];
                 } else {
                 } else {