|
@@ -109,9 +109,10 @@ class DemandLabor extends Auth
|
|
|
->when($keyword,function ($query) use ($keyword){
|
|
|
$query->whereLike('a.real_name|job_application|scope_work_area|province|area','%'.$keyword.'%');
|
|
|
})
|
|
|
- ->field('a.id,uuid,a.head_img,a.real_name,a.sex,age,work_year,schooling,job_application,scope_work_area,province,city,area,b.is_vip,b.huanxinID')
|
|
|
+ ->field('a.id,uuid,a.head_img,a.real_name,a.sex,age,work_year,schooling,job_application,scope_work_area,province,city,area,b.is_vip,b.huanxinID,a.create_at')
|
|
|
->rightJoin('data_user b','a.uuid=b.id')
|
|
|
- ->order('b.is_vip desc,a.id desc')
|
|
|
+// ->order('b.is_vip desc,a.id desc')
|
|
|
+ ->order('a.create_at desc,b.is_vip desc,a.id desc')
|
|
|
->paginate();
|
|
|
break;
|
|
|
}
|