|
...
|
...
|
@@ -60,7 +60,7 @@ class UserLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$this->param = $this->editPassword($this->param);
|
|
|
|
$rs = $this->model->edit($this->param, ['id' => $this->param['id']]);
|
|
|
|
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')]);
|
|
|
|
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')]);
|
|
|
|
} else {
|
|
|
|
$this->param['password'] = base64_encode(md5($this->param['password']));
|
|
|
|
$rs = $this->model->add($this->param);
|
...
|
...
|
|