소스 검색

修改用户昵称搜索

lip 10 시간 전
부모
커밋
a561dc62a5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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());