error = '新密码输入不一致'; return false; } $date['password'] = salt_hash($data['password']); $this->save($date); return true; } }