Browse Source

fix: stat charts

tokumeikoi 4 years ago
parent
commit
34be1b9579
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/StatController.php

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

@@ -54,7 +54,7 @@ class StatController extends Controller
     {
         $statistics = StatOrder::where('record_type', 'd')
             ->limit(31)
-            ->orderBy('record_at', 'ASC')
+            ->orderBy('record_at', 'DESC')
             ->get()
             ->toArray();
         $result = [];