作者 lyh

gx

@@ -19,7 +19,7 @@ class HrController extends BaseController @@ -19,7 +19,7 @@ class HrController extends BaseController
19 */ 19 */
20 public function list(ManageHr $manageHr) 20 public function list(ManageHr $manageHr)
21 { 21 {
22 - $lists = $manageHr->lists($this->map,$this->page,$this->row,['sort','id']); 22 + $lists = $manageHr->lists($this->map,$this->page,$this->row,['id','sort']);
23 if(!empty($lists) && !empty($lists['list'])){ 23 if(!empty($lists) && !empty($lists['list'])){
24 foreach ($lists['list'] as $k => $v){ 24 foreach ($lists['list'] as $k => $v){
25 $v['photo_gallery_link'] = json_decode($v['photo_gallery']); 25 $v['photo_gallery_link'] = json_decode($v['photo_gallery']);