作者 lyh

gx

@@ -28,8 +28,7 @@ class ProjectRoleController extends BaseController @@ -28,8 +28,7 @@ class ProjectRoleController extends BaseController
28 */ 28 */
29 public function lists (){ 29 public function lists (){
30 $roleModel = new ProjectRoleModel(); 30 $roleModel = new ProjectRoleModel();
31 - $filed = ['id','name','type','project_id','operator_id','status','created_at','updated_at'];  
32 - $lists = $roleModel->lists($this->map,$this->page,$this->row,$this->order,$filed); 31 + $lists = $roleModel->lists($this->map,$this->page,$this->row,$this->order);
33 if(!empty($lists)){ 32 if(!empty($lists)){
34 foreach ($lists as $k => $v){ 33 foreach ($lists as $k => $v){
35 if($v['type'] == 1){ 34 if($v['type'] == 1){