ecmall在整合后修改会员密码是不是有问题?

2016-07-07 16:47 来源:www.chinab4c.com 作者:ecshop专家

$local_data = array();
if ($new_pwd)
{
$local_data['password'] = md5(time() .rand(100000, 999999));
}
if ($new_email)
{
$local_data['email'] = $new_email;
}

//编辑本地数据
$this->_local_edit($user_id, $local_data);