linwu 2 년 전
부모
커밋
ae153cb7c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Mobile/Active/QuanzhidaController.php

+ 1 - 1
app/Http/Controllers/Mobile/Active/QuanzhidaController.php

@@ -44,7 +44,7 @@ class QuanzhidaController extends MobileBaseController
 
         //获取数据
         $where = $this->_dealWhere($request);
-        $list  = DB::table('quanzhida')->where($where)->paginate(10);
+        $list  = DB::table('quanzhida')->where($where)->orderBy('wage_max','desc')->paginate(10);
 
         //数据处理
         foreach ($list as $val) {