正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -60,7 +60,7 @@ class UserLogic extends BaseLogic | @@ -60,7 +60,7 @@ class UserLogic extends BaseLogic | ||
| 60 | } | 60 | } |
| 61 | $this->param = $this->editPassword($this->param); | 61 | $this->param = $this->editPassword($this->param); |
| 62 | $rs = $this->model->edit($this->param, ['id' => $this->param['id']]); | 62 | $rs = $this->model->edit($this->param, ['id' => $this->param['id']]); |
| 63 | - DB::table('gl_user_edit_log')->insert(['message'=>json_encode($this->param),'user_id'=>$this->manager['id'],'project_id'=>$this->user['project_id'],'created_at'=>date('Y-m-d H:i:s'),'updated_at'=>date('Y-m-d H:i:s')]); | 63 | + DB::table('gl_user_edit_log')->insert(['message'=>json_encode($this->param),'user_id'=>$this->manager['id'],'project_id'=>$info['project_id'],'created_at'=>date('Y-m-d H:i:s'),'updated_at'=>date('Y-m-d H:i:s')]); |
| 64 | } else { | 64 | } else { |
| 65 | $this->param['password'] = base64_encode(md5($this->param['password'])); | 65 | $this->param['password'] = base64_encode(md5($this->param['password'])); |
| 66 | $rs = $this->model->add($this->param); | 66 | $rs = $this->model->add($this->param); |
-
请 注册 或 登录 后发表评论