shish 1 год назад
Родитель
Сommit
db978549dd
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      app-ghs/controllers/ConsoleController.php

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

@@ -154,17 +154,13 @@ class ConsoleController extends BaseController
         if (!empty($shop)) {
             $deadline = $shop->deadline;
             $currentTime = time();
+            $currentTime = $currentTime+604800;
             $deadTime = strtotime($deadline);
             if ($currentTime > $deadTime) {
-                $notice[] = ['title' => '系统已到期,即将停用,请及时续费', 'action' => '查看', 'page' => '/admin/shop/renew'];
+                $notice[] = ['title' => '系统即将到期,请及时续费', 'action' => '查看', 'page' => '/admin/shop/renew'];
             }
         }
 
-        $mainId = $this->mainId;
-        if (!in_array($mainId, [23390, 23884, 45354, 40624, 10975])) {
-            //$notice[] = ['title' => '明天起续年费需涨600元,请提前安排', 'action' => '如何续', 'page' => '/admin/notice/fee'];
-        }
-
         $respond = StatSaleClass::profile($mainId);
         $incomeList = $respond['income'] ?? [];
         $todaySale = 0;