root 5 years ago
parent
commit
56d0305bf0
1 changed files with 0 additions and 2 deletions
  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)