public function changeRegisterEmail($uid, $email)
{
$map['uid'] = $uid;
$map['is_active'] = 0;
$data['login'] = $email;
$data['email'] = $email;
$res = $this->_user_model->where($map)->save($data);
$res = (bool) $res;
if ($res) {
$this->_error = '更换邮箱成功';
$this->_user_model->cleanCache($uid);
} else {
$this->_error = '更换邮箱失败';
}
return $res;
}