展示职位列表调整
parent
3408ccb752
commit
44d4b6907f
|
@ -28,7 +28,7 @@ class PositionModel extends Base
|
|||
->when($onlyVisible, function($query){
|
||||
$query->where('visible', 1);
|
||||
})
|
||||
->order('sort', 'asc')
|
||||
->order('sort', 'desc')
|
||||
->limit($pre)
|
||||
->select();
|
||||
return $items->toArray();
|
||||
|
|
Loading…
Reference in New Issue