|
...
|
...
|
@@ -68,7 +68,7 @@ class UserLogic extends BaseLogic |
|
|
|
$this->param = $this->editPassword($this->param);
|
|
|
|
$rs = $this->model->edit($this->param, ['id' => $this->param['id']]);
|
|
|
|
} else {
|
|
|
|
$this->param['password'] = base64_encode(md5($this->param['password']));
|
|
|
|
$this->param['password'] = base64_encode(md5($this->param['password'] ?? '123456'));
|
|
|
|
$rs = $this->model->add($this->param);
|
|
|
|
}
|
|
|
|
if ($rs === false) {
|
...
|
...
|
|