shish hace 4 años
padre
commit
ba46b97026
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app-ghs/controllers/StatBookController.php

+ 1 - 1
app-ghs/controllers/StatBookController.php

@@ -24,7 +24,7 @@ class StatBookController extends BaseController
             $where['time'] = ['between', [$period['startTime'], $period['endTime']]];
         }
 
-        $list = StatBookClass::getAllByCondition($where, null, '*');
+        $list = StatBookClass::getAllByCondition($where, 'time DESC', '*');
         util::success(['list' => $list]);
     }