Browse Source

fix: server charts

tokumeikoi 4 years ago
parent
commit
bc9b3b6e76
2 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/StatController.php
  2. 0 0
      public/assets/admin/umi.js

+ 1 - 0
app/Http/Controllers/Admin/StatController.php

@@ -103,6 +103,7 @@ class StatController extends Controller
             ->where('record_at', '>=', $timestamp)
             ->where('record_type', 'd')
             ->limit(10)
+            ->orderBy('record_at', 'DESC')
             ->get()
             ->toArray();
         foreach ($statistics as $k => $v) {

File diff suppressed because it is too large
+ 0 - 0
public/assets/admin/umi.js


Some files were not shown because too many files changed in this diff