正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -196,7 +196,7 @@ class UserLogic extends BaseLogic | @@ -196,7 +196,7 @@ class UserLogic extends BaseLogic | ||
| 196 | $roleModel = new ProjectRole(); | 196 | $roleModel = new ProjectRole(); |
| 197 | $roleInfo = $roleModel->where('project_id',$this->param['project_id'])->orderBy('id','asc')->first(); | 197 | $roleInfo = $roleModel->where('project_id',$this->param['project_id'])->orderBy('id','asc')->first(); |
| 198 | $info = $this->model->read(['role_id'=>0]); | 198 | $info = $this->model->read(['role_id'=>0]); |
| 199 | - if(!empty($info) || !empty($roleInfo)){ | 199 | + if(empty($info) || empty($roleInfo)){ |
| 200 | $this->fail('系统错误,请联系管理员'); | 200 | $this->fail('系统错误,请联系管理员'); |
| 201 | } | 201 | } |
| 202 | try { | 202 | try { |
-
请 注册 或 登录 后发表评论