Commit 883fceb5 authored by liuyuzhen's avatar liuyuzhen

密码加掩码问题

parent 0a3fcecc
...@@ -80,9 +80,10 @@ class MemberServiceModel extends \Business\AbstractModel ...@@ -80,9 +80,10 @@ class MemberServiceModel extends \Business\AbstractModel
} }
private function getRealPassword($password,$timeSpan){ private function getRealPassword($password,$timeSpan){
$addKey=Common::getConfig('password.key'); $addKey=Common::getConfig('password.key');
$md5Str=$timeSpan.$addKey.$password; $md5Str = $timeSpan.$password.$addKey;
return $md5Str; return $md5Str;
} }
public function getOneByMobileAndPassword($mobile, $password) public function getOneByMobileAndPassword($mobile, $password)
{ {
// $password=$this->getPassAddKey($password); // $password=$this->getPassAddKey($password);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment