Commit 9319c0d2 authored by wwccw0591's avatar wwccw0591

pc

parent 799223ea
......@@ -85,6 +85,8 @@ class MemberController extends \Our\Controller_AbstractApi {
public function logOutAction(){
$key = $this->req[\Our\NameConst::data]['key'];
$result = $this->memberService->logOut($key);
session_unset();
session_destroy();
if($result){
$this->success(new stdClass());
}
......
......@@ -59,9 +59,8 @@ class MemberServiceModel extends \Business\AbstractModel
public function clearKey($key){
// $this->sessionDb0Redis->delSessionKey($key);
session_unset();
session_destroy();
$this->sessionDb0Redis->delSessionKey($key);
// $this->memberDb0Redis->tableDel($key);
}
public function checkUserNamePassWord($mobile, $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