modified 调整路由模式

This commit is contained in:
zhaoxiang 2019-06-20 22:47:28 +08:00
parent 5cc59bda69
commit fc30c6ab7f

View File

@ -83,6 +83,11 @@ class Login extends Base {
return $this->buildSuccess($this->userInfo);
}
/**
* 用户登出
* @return array
* @author zhaoxiang <zhaoxiang051405@gmail.com>
*/
public function logout() {
$ApiAuth = $this->request->header('ApiAuth');
cache('Login:' . $ApiAuth, null);