lip 11 цаг өмнө
parent
commit
a561dc62a5

+ 1 - 1
app/Http/Controllers/admin/LhcLottery.php

@@ -54,7 +54,7 @@ class LhcLottery extends Controller
             $count = $query->count();
             $list = $query
                 ->forPage($page, $limit)
-                ->orderByDesc('id')
+                ->orderByDesc('open_time')
                 ->get();
         } catch (Exception $e) {
             return $this->error(HttpStatus::CUSTOM_ERROR,$e->getMessage());