Commit 1b75946e authored by liuyuzhen's avatar liuyuzhen

退出登录清除key

parent 30ae6e89
......@@ -209,6 +209,8 @@ class MemberServiceModel extends \Business\AbstractModel
* 退出登录
*/
public function logOut($key){
$sess=\Yaf\Session::getInstance();
$sess->del('member_id');
$this->clearKey($key);
return true;
}
......
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