root 5 年之前
父節點
當前提交
56d0305bf0
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      app/Http/Controllers/Admin/DashboardController.php

+ 0 - 2
app/Http/Controllers/Admin/DashboardController.php

@@ -19,8 +19,6 @@ class DashboardController extends Controller
             'data' => [
                 'month_income' => Redis::get('month_income'),
                 'month_register_total' => Redis::get('month_register_total'),
-                'server_offline_total' => Server::where('last_check_at', '<', time() - 300)
-                    ->count(),
                 'ticket_pendding_total' => Ticket::where('status', 0)
                     ->count(),
                 'commission_pendding_total' => Order::where('commission_status', 0)