shish 1 rok temu
rodzic
commit
280f7663a2
1 zmienionych plików z 6 dodań i 2 usunięć
  1. 6 2
      app-ghs/controllers/ConsoleController.php

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

@@ -154,13 +154,17 @@ 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;