From 56d0305bf040dcf122ef951d07d5779cf9c2a269 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 Dec 2019 16:37:47 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/DashboardController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/Controllers/Admin/DashboardController.php b/app/Http/Controllers/Admin/DashboardController.php index 8325e3f9..b83416d0 100644 --- a/app/Http/Controllers/Admin/DashboardController.php +++ b/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)