Commit 5779348a authored by liuyuzhen's avatar liuyuzhen

退出登录

parent a5675b44
......@@ -209,10 +209,8 @@ class MemberServiceModel extends \Business\AbstractModel
* 退出登录
*/
public function logOut($key){
$this->memberDb0Redis->tableDel($key);
$sess=\Yaf\Session::getInstance();
$sess->del('member_id');
return true;
$result = \Redis\Db0\SessionRedisModel::getInstance()->delSessionKey($key);
return $result;
}
/**
......
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