作者 lyh

gx

@@ -73,6 +73,7 @@ class RoleLogic extends BaseLogic @@ -73,6 +73,7 @@ class RoleLogic extends BaseLogic
73 $this->param['create_id'] = $this->user['id']; 73 $this->param['create_id'] = $this->user['id'];
74 $this->param['operator_id'] = $this->user['id']; 74 $this->param['operator_id'] = $this->user['id'];
75 $this->param['project_id'] = $this->user['project_id']; 75 $this->param['project_id'] = $this->user['project_id'];
  76 + $this->param['type'] = 1;
76 //验证当前角色是否存在 77 //验证当前角色是否存在
77 $info = $this->model->read(['name'=>$this->param['name']]); 78 $info = $this->model->read(['name'=>$this->param['name']]);
78 if($info !== false){ 79 if($info !== false){