shish hai 1 ano
pai
achega
db978549dd
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  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)) {
         if (!empty($shop)) {
             $deadline = $shop->deadline;
             $deadline = $shop->deadline;
             $currentTime = time();
             $currentTime = time();
+            $currentTime = $currentTime+604800;
             $deadTime = strtotime($deadline);
             $deadTime = strtotime($deadline);
             if ($currentTime > $deadTime) {
             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);
         $respond = StatSaleClass::profile($mainId);
         $incomeList = $respond['income'] ?? [];
         $incomeList = $respond['income'] ?? [];
         $todaySale = 0;
         $todaySale = 0;