正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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){ |
-
请 注册 或 登录 后发表评论