mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 调整路由模式
This commit is contained in:
parent
5cc59bda69
commit
fc30c6ab7f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user