Browse Source

修改用户昵称搜索

lip 9 hours ago
parent
commit
a561dc62a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/admin/LhcLottery.php

+ 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());