正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -128,6 +128,9 @@ class ManageLogic extends BaseLogic | @@ -128,6 +128,9 @@ class ManageLogic extends BaseLogic | ||
| 128 | public function getManagerInfo(){ | 128 | public function getManagerInfo(){ |
| 129 | $info = $this->model->read(['id'=>$this->param['id']], | 129 | $info = $this->model->read(['id'=>$this->param['id']], |
| 130 | ['id','name','email','mobile','status','gid','sort','dept_id','is_dept_manager','created_at','role','rules','updated_at']); | 130 | ['id','name','email','mobile','status','gid','sort','dept_id','is_dept_manager','created_at','role','rules','updated_at']); |
| 131 | + if(!empty($info['rules'])){ | ||
| 132 | + $info['rules'] = Arr::setToArr($info['rules']); | ||
| 133 | + } | ||
| 131 | if($info === false){ | 134 | if($info === false){ |
| 132 | $this->fail('error'); | 135 | $this->fail('error'); |
| 133 | } | 136 | } |
-
请 注册 或 登录 后发表评论